diff options
Diffstat (limited to 'sapi/litespeed/lsapi_main.c')
-rw-r--r-- | sapi/litespeed/lsapi_main.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sapi/litespeed/lsapi_main.c b/sapi/litespeed/lsapi_main.c index 79478af0c6..4753bc11a1 100644 --- a/sapi/litespeed/lsapi_main.c +++ b/sapi/litespeed/lsapi_main.c @@ -37,18 +37,7 @@ #include <unistd.h> #endif -#ifdef PHP_WIN32 - -#include <io.h> -#include <fcntl.h> -#include "win32/php_registry.h" - -#else - #include <sys/wait.h> - -#endif - #include <sys/stat.h> #if HAVE_SYS_TYPES_H @@ -1012,13 +1001,6 @@ static int cli_main( int argc, char * argv[] ) zend_string *psKey; lsapi_mode = 0; /* enter CLI mode */ -#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 */ - setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ -#endif - zend_first_try { SG(server_context) = (void *) 1; |