summaryrefslogtreecommitdiff
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
commitdb0c957f028f116a1518f3cc81edc77053053eed (patch)
tree2228fbe53cf818f8d230dab3b1f07534fc4ddc65
parent6ec23faa99eeb484189edc681693b08bc43d51d9 (diff)
downloadphp-git-db0c957f028f116a1518f3cc81edc77053053eed.tar.gz
Fix Windows build, this really should be in a patch file / README.
I'll fix this up later.
-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>