summaryrefslogtreecommitdiff
path: root/ext/pcre/pcrelib/pcre_internal.h
diff options
context:
space:
mode:
authorScott MacVicar <scottmac@php.net>2011-05-13 13:51:07 +0000
committerScott MacVicar <scottmac@php.net>2011-05-13 13:51:07 +0000
commit74b8f72017c0ad627c46666d1de5678f5ce75335 (patch)
tree3c0a330b365a636f4a0fc02a877c0d2462c3495e /ext/pcre/pcrelib/pcre_internal.h
parent27fc1b889a9cf823df3bc071d0ae34bced8bce4b (diff)
downloadphp-git-74b8f72017c0ad627c46666d1de5678f5ce75335.tar.gz
Fix Windows build, this really should be in a patch file / README.
I'll fix this up later.
Diffstat (limited to 'ext/pcre/pcrelib/pcre_internal.h')
-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>