Fixed issue #2466 Invalid integer constant expression error in php.h

This commit is contained in:
Xinchen Hui 2017-04-10 14:40:44 +08:00
parent 9c7cb2cdcd
commit d2923ec1e5

View file

@ -143,7 +143,7 @@ END_EXTERN_C()
#endif #endif
#ifndef HAVE_SOCKLEN_T #ifndef HAVE_SOCKLEN_T
# if PHP_WIN32 # ifdef PHP_WIN32
typedef int socklen_t; typedef int socklen_t;
# else # else
typedef unsigned int socklen_t; typedef unsigned int socklen_t;