Skip to content

Commit db0c957

Browse files
author
Scott MacVicar
committed
Fix Windows build, this really should be in a patch file / README.
I'll fix this up later.
1 parent 6ec23fa commit db0c957

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ext/pcre/pcrelib/pcre_internal.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ stdint.h is available, include it; it may define INT64_MAX. Systems that do not
192192
have stdint.h (e.g. Solaris) may have inttypes.h. The macro int64_t may be set
193193
by "configure". */
194194

195-
#if HAVE_STDINT_H
195+
#ifdef PHP_WIN32
196+
#include "win32/php_stdint.h"
197+
#elif HAVE_STDINT_H
196198
#include <stdint.h>
197199
#elif HAVE_INTTYPES_H
198200
#include <inttypes.h>

0 commit comments

Comments
 (0)