summaryrefslogtreecommitdiff
path: root/sapi/cgi/cgi_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/cgi/cgi_main.c')
-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 4a165b80c5..2346cfab8d 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -453,6 +453,7 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
php_module_shutdown();
return FAILURE;
} else if (file_handle.handle.fp && file_handle.handle.fp!=stdin) {
+#if !(WIN32|WINNT)
/* #!php support */
c = fgetc(file_handle.handle.fp);
if (c == '#') {
@@ -463,6 +464,7 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
} else {
rewind(file_handle.handle.fp);
}
+#endif
}
switch (behavior) {