summaryrefslogtreecommitdiff
path: root/sapi/apache2handler/sapi_apache2.c
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2010-05-04 12:12:28 +0000
committerRob Richards <rrichards@php.net>2010-05-04 12:12:28 +0000
commit60f62fc563e9bb223b4f2352a40bf46749771a50 (patch)
tree7de741d97c32fa9de96ecc492d0cf4bb31f01217 /sapi/apache2handler/sapi_apache2.c
parent5c5fd74fdbc9fe19a575bbd76eae998f88268351 (diff)
downloadphp-git-60f62fc563e9bb223b4f2352a40bf46749771a50.tar.gz
fix non-windows builds
Diffstat (limited to 'sapi/apache2handler/sapi_apache2.c')
-rw-r--r--sapi/apache2handler/sapi_apache2.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c
index 8d0c94ec93..ae757f5702 100644
--- a/sapi/apache2handler/sapi_apache2.c
+++ b/sapi/apache2handler/sapi_apache2.c
@@ -53,8 +53,10 @@
#include "php_apache.h"
-#if _MSC_VER <= 1300
-# include "win32/php_strtoi64.h"
+#ifdef PHP_WIN32
+# if _MSC_VER <= 1300
+# include "win32/php_strtoi64.h"
+# endif
#endif
/* UnixWare and Netware define shutdown to _shutdown, which causes problems later