summaryrefslogtreecommitdiff
path: root/sapi/cgi
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/cgi')
-rw-r--r--sapi/cgi/cgi_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index bf8ba280b3..af06bfb65b 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -338,12 +338,14 @@ int main(int argc, char *argv[])
#endif
+#ifndef WIN32 /* SIGPIPE is unknown on WIN32 platforms fmk@swwwing.com */
#if HAVE_SIGNAL_H
signal(SIGPIPE,SIG_IGN); /* ignore SIGPIPE in standalone mode so that sockets created via
fsockopen() don't kill PHP if the remote site closes it.
in apache|apxs mode apache does that for us!
thies@digicol.de 20000419 */
#endif
+#endif
#ifndef ZTS
if (setjmp(EG(bailout))!=0) {