summaryrefslogtreecommitdiff
path: root/ext
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
commit3143828eb3e6df1080ba0a0304bbf970aa5efe92 (patch)
tree0f3dac74fc581698de18b0da45d0ce5b56c91eb8 /ext
parent15b7a4476a93fa01dd3802ec913e75e92c6b43df (diff)
downloadphp-git-3143828eb3e6df1080ba0a0304bbf970aa5efe92.tar.gz
- Fix PCRE build on Windows; closes bug #53606.
Diffstat (limited to 'ext')
-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>