summaryrefslogtreecommitdiff
path: root/ext/pcre
diff options
context:
space:
mode:
authorGustavo André dos Santos Lopes <cataphract@php.net>2010-12-24 19:01:25 +0000
committerGustavo André dos Santos Lopes <cataphract@php.net>2010-12-24 19:01:25 +0000
commitff32c32fba0c257f971df39fc85c20e0cd911d58 (patch)
treea0874d059c5cf8c56abc789e0b7601f3264c6517 /ext/pcre
parent34c6447e9e8bc32462cd42d5aa6b0c99bff5052e (diff)
downloadphp-git-ff32c32fba0c257f971df39fc85c20e0cd911d58.tar.gz
- Fix PCRE build on Windows; closes bug #53606.
Diffstat (limited to 'ext/pcre')
-rw-r--r--ext/pcre/pcrelib/pcre_internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/pcre/pcrelib/pcre_internal.h b/ext/pcre/pcrelib/pcre_internal.h
index 5f736d13ac..6ec0b7a541 100644
--- a/ext/pcre/pcrelib/pcre_internal.h
+++ b/ext/pcre/pcrelib/pcre_internal.h
@@ -192,7 +192,9 @@ 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". */
-#if HAVE_STDINT_H
+#ifdef PHP_WIN32
+#include "win32/php_stdint.h"
+#elif HAVE_STDINT_H
#include <stdint.h>
#elif HAVE_INTTYPES_H
#include <inttypes.h>