summaryrefslogtreecommitdiff
path: root/sapi/cgi
diff options
context:
space:
mode:
authorFrank M. Kromann <fmk@php.net>2000-04-19 17:28:23 +0000
committerFrank M. Kromann <fmk@php.net>2000-04-19 17:28:23 +0000
commit429cf808e61363378298bd3fbd2257fdd341b1ee (patch)
tree8326c48d8115d96e8ff099ca9ba7b923f7431cb0 /sapi/cgi
parentfe1147b01a85662e88747492e1fc5bfde3fd31dc (diff)
downloadphp-git-429cf808e61363378298bd3fbd2257fdd341b1ee.tar.gz
SIGPIPE is unknown on WIN32 platforms
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) {