cvs: /php4/sapi/cgi cgi_main.c

From: Date: Thu, 20 Apr 2000 13:44:19 +0000
Subject: cvs: /php4/sapi/cgi cgi_main.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-13782@lists.php.net to get a copy of this message
andi Thu Apr 20 06:44:19 2000 EDT Modified files: /php4/sapi/cgi cgi_main.c Log: - Another PHP_WIN32 patch Index: php4/sapi/cgi/cgi_main.c diff -u php4/sapi/cgi/cgi_main.c:1.38 php4/sapi/cgi/cgi_main.c:1.39 --- php4/sapi/cgi/cgi_main.c:1.38 Thu Apr 20 06:23:19 2000 +++ php4/sapi/cgi/cgi_main.c Thu Apr 20 06:43:48 2000 @@ -359,7 +359,7 @@ sapi_startup(&sapi_module); -#if WIN32|WINNT +#ifdef PHP_WIN32 _fmode = _O_BINARY; /*sets default for file streams to binary */ setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */

« previous php.version4 (#13782) next »