From d2923ec1e5457e173f29bdd7f778346c39c952dd Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Mon, 10 Apr 2017 14:40:44 +0800 Subject: Fixed issue #2466 Invalid integer constant expression error in php.h --- main/php.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/php.h') 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; -- cgit v1.2.1 From d65459f4eb764a77668a8f870ea85f3bbd12a13c Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Mon, 10 Apr 2017 14:42:48 +0800 Subject: another place --- main/php.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/php.h') diff --git a/main/php.h b/main/php.h index c138e5c0fa..9b1c8b9b2b 100644 --- a/main/php.h +++ b/main/php.h @@ -256,7 +256,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 -- cgit v1.2.1