From fd075263f91eb3816b2e4e8584172805559ff69f Mon Sep 17 00:00:00 2001 From: Daniel Cohen Gindi Date: Sat, 20 Sep 2014 17:23:36 +0300 Subject: Signal is a fundamental UNIX function, and must be omitted for any windows compilation --- libvncserver/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvncserver/main.c b/libvncserver/main.c index b8cdde1..9839c85 100644 --- a/libvncserver/main.c +++ b/libvncserver/main.c @@ -1051,7 +1051,7 @@ void rfbInitServer(rfbScreenInfoPtr screen) #endif rfbInitSockets(screen); rfbHttpInitSockets(screen); -#ifndef __MINGW32__ +#ifndef WIN32 if(screen->ignoreSIGPIPE) signal(SIGPIPE,SIG_IGN); #endif -- cgit v1.1