com php-src: Fixed issue #2466 Invalid integer constant expression error in php.h: main/php.h
| From: | Xinchen Hui | Date: | Mon, 10 Apr 2017 06:40:44 +0000 |
| Subject: | com php-src: Fixed issue #2466 Invalid integer constant expression error in php.h: main/php.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-97514@lists.php.net to get a copy of this message | ||
Commit: d2923ec1e5457e173f29bdd7f778346c39c952dd
Author: Xinchen Hui <laruence@gmail.com> Mon, 10 Apr 2017 14:40:44 +0800
Parents: 9c7cb2cdcde92691f1f833546eb1382acf788e2c
Branches: PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d2923ec1e5457e173f29bdd7f778346c39c952dd
Log:
Fixed issue #2466 Invalid integer constant expression error in php.h
Bugs:
https://bugs.php.net/2466
Changed paths:
M main/php.h
Diff:
diff --git a/main/php.h b/main/php.h
index 4b40132..25fffee 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;