]> granicus.if.org Git - php/commitdiff
Fixed issue #2466 Invalid integer constant expression error in php.h
authorXinchen Hui <laruence@gmail.com>
Mon, 10 Apr 2017 06:40:44 +0000 (14:40 +0800)
committerXinchen Hui <laruence@gmail.com>
Mon, 10 Apr 2017 06:40:44 +0000 (14:40 +0800)
main/php.h

index 4b40132adbb563bb8a95a9796087ad5e0e8be1f2..25fffee714a4bd0991467802611e4322da1e7d27 100644 (file)
@@ -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;