com php-src: fix VC9 build with PCRE: ext/pcre/pcrelib/pcre_i nternal.h
| From: | Anatol Belski | Date: | Tue, 28 Apr 2015 11:15:39 +0000 |
| Subject: | com php-src: fix VC9 build with PCRE: ext/pcre/pcrelib/pcre_i nternal.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86533@lists.php.net to get a copy of this message | ||
Commit: 9c5c3ff0220f689954ada24b94228b6f3591e37d
Author: Anatol Belski <ab@php.net> Tue, 28 Apr 2015 13:15:39 +0200
Parents: 23917b451bf4029e78082b4e0a56bc4c6f117990
Branches: PHP-5.4 PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9c5c3ff0220f689954ada24b94228b6f3591e37d
Log:
fix VC9 build with PCRE
Changed paths:
M ext/pcre/pcrelib/pcre_internal.h
Diff:
diff --git a/ext/pcre/pcrelib/pcre_internal.h b/ext/pcre/pcrelib/pcre_internal.h
index 02d3ab1..19d18a8 100644
--- a/ext/pcre/pcrelib/pcre_internal.h
+++ b/ext/pcre/pcrelib/pcre_internal.h
@@ -229,11 +229,15 @@ stdint.h is available, include it; it may define INT64_MAX. Systems that do
not
have stdint.h (e.g. Solaris) may have inttypes.h. The macro int64_t may be set
by "configure". */
+#ifdef PHP_WIN32
+#include "win32/php_stdint.h"
+#else
#if defined HAVE_STDINT_H
#include <stdint.h>
#elif defined HAVE_INTTYPES_H
#include <inttypes.h>
#endif
+#endif
#if defined INT64_MAX || defined int64_t
#define INT64_OR_DOUBLE int64_t