summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/php.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php.h b/main/php.h
index 4b40132adb..25fffee714 100644
--- a/main/php.h
+++ b/main/php.h
@@ -143,7 +143,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;