summaryrefslogtreecommitdiffstats
path: root/libvncserver
diff options
context:
space:
mode:
authorDaniel Cohen Gindi <danielgindi@gmail.com>2014-09-20 17:23:36 +0300
committerDaniel Cohen Gindi <danielgindi@gmail.com>2014-09-20 17:46:35 +0300
commitfd075263f91eb3816b2e4e8584172805559ff69f (patch)
tree947b84172cc4002a924e777b2b627ada1f5fdabb /libvncserver
parenta7f79b696e8c7afa455464f2d6612816c55740c2 (diff)
downloadlibtdevnc-fd075263f91eb3816b2e4e8584172805559ff69f.tar.gz
libtdevnc-fd075263f91eb3816b2e4e8584172805559ff69f.zip
Signal is a fundamental UNIX function, and must be omitted for any windows compilation
Diffstat (limited to 'libvncserver')
-rw-r--r--libvncserver/main.c2
1 files changed, 1 insertions, 1 deletions
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