summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-04-28 13:15:39 +0200
committerAnatol Belski <ab@php.net>2015-04-28 13:15:39 +0200
commit9c5c3ff0220f689954ada24b94228b6f3591e37d (patch)
tree206e8e62e82cde00119602680e5a19c0dec57280
parent23917b451bf4029e78082b4e0a56bc4c6f117990 (diff)
downloadphp-git-9c5c3ff0220f689954ada24b94228b6f3591e37d.tar.gz
fix VC9 build with PCRE
-rw-r--r--ext/pcre/pcrelib/pcre_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/pcre/pcrelib/pcre_internal.h b/ext/pcre/pcrelib/pcre_internal.h
index 02d3ab17c5..19d18a830a 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