com php-src: Fixed issue #2466 Invalid integer constant expression error in php.h: main/php.h

[email protected] (Xinchen Hui)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    d2923ec1e5457e173f29bdd7f778346c39c952dd
Author:    Xinchen Hui <[email protected]>         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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.