Signal is a fundamental UNIX function, and must be omitted for any windows compilation

pull/1/head
Daniel Cohen Gindi 10 years ago
parent a7f79b696e
commit fd075263f9

@ -1051,7 +1051,7 @@ void rfbInitServer(rfbScreenInfoPtr screen)
#endif #endif
rfbInitSockets(screen); rfbInitSockets(screen);
rfbHttpInitSockets(screen); rfbHttpInitSockets(screen);
#ifndef __MINGW32__ #ifndef WIN32
if(screen->ignoreSIGPIPE) if(screen->ignoreSIGPIPE)
signal(SIGPIPE,SIG_IGN); signal(SIGPIPE,SIG_IGN);
#endif #endif

Loading…
Cancel
Save