summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/php.h b/main/php.h
index 2d22297d3a..7b1a9256ba 100644
--- a/main/php.h
+++ b/main/php.h
@@ -210,7 +210,7 @@ END_EXTERN_C()
#endif
#ifndef HAVE_SOCKLEN_T
-# if PHP_WIN32
+# ifdef PHP_WIN32
typedef int socklen_t;
# else
typedef unsigned int socklen_t;
@@ -323,7 +323,7 @@ END_EXTERN_C()
#define STR_PRINT(str) ((str)?(str):"")
#ifndef MAXPATHLEN
-# if PHP_WIN32
+# ifdef PHP_WIN32
# include "win32/ioutil.h"
# define MAXPATHLEN PHP_WIN32_IOUTIL_MAXPATHLEN
# elif PATH_MAX