From 429cf808e61363378298bd3fbd2257fdd341b1ee Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Wed, 19 Apr 2000 17:28:23 +0000 Subject: SIGPIPE is unknown on WIN32 platforms --- sapi/cgi/cgi_main.c | 2 ++ 1 file changed, 2 insertions(+) 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) { -- cgit v1.2.1