summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2017-04-10 14:40:44 +0800
committerXinchen Hui <laruence@gmail.com>2017-04-10 14:40:44 +0800
commitd2923ec1e5457e173f29bdd7f778346c39c952dd (patch)
tree891b084ddfaaa031b620bec837a383c4467a9561
parent9c7cb2cdcde92691f1f833546eb1382acf788e2c (diff)
downloadphp-git-d2923ec1e5457e173f29bdd7f778346c39c952dd.tar.gz
Fixed issue #2466 Invalid integer constant expression error in php.h
-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;