]> granicus.if.org Git - php/commitdiff
- revert fix for #51723 in 5.2, vc6 does not support strtoi64, use builtin functioon...
authorPierre Joye <pajoye@php.net>
Mon, 3 May 2010 19:51:59 +0000 (19:51 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 3 May 2010 19:51:59 +0000 (19:51 +0000)
sapi/apache2handler/sapi_apache2.c

index 24e489d7224da831210213eac5177c29306d73ad..8d0c94ec93ceb7c9405b2adc3dbe11cc14d53d7a 100644 (file)
 
 #include "php_apache.h"
 
+#if _MSC_VER <= 1300
+# include "win32/php_strtoi64.h"
+#endif
+
 /* UnixWare and Netware define shutdown to _shutdown, which causes problems later
  * on when using a structure member named shutdown. Since this source
  * file does not use the system call shutdown, it is safe to #undef it.K
@@ -120,7 +124,7 @@ php_apache_sapi_header_handler(sapi_header_struct *sapi_header, sapi_header_op_e
                                }
                                ctx->content_type = estrdup(val);
                        } else if (!strcasecmp(sapi_header->header, "content-length")) {
-#ifdef PHP_WINDOWS
+#ifdef PHP_WIN32
 # ifdef APR_HAS_LARGE_FILES
                                ap_set_content_length(ctx->r, (apr_off_t) _strtoui64(val, (char **)NULL, 10));
 # else