Skip to content

Commit 9c5c3ff

Browse files
committed
fix VC9 build with PCRE
1 parent 23917b4 commit 9c5c3ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/pcre/pcrelib/pcre_internal.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,11 +229,15 @@ stdint.h is available, include it; it may define INT64_MAX. Systems that do not
229229
have stdint.h (e.g. Solaris) may have inttypes.h. The macro int64_t may be set
230230
by "configure". */
231231

232+
#ifdef PHP_WIN32
233+
#include "win32/php_stdint.h"
234+
#else
232235
#if defined HAVE_STDINT_H
233236
#include <stdint.h>
234237
#elif defined HAVE_INTTYPES_H
235238
#include <inttypes.h>
236239
#endif
240+
#endif
237241

238242
#if defined INT64_MAX || defined int64_t
239243
#define INT64_OR_DOUBLE int64_t

0 commit comments

Comments
 (0)