]> granicus.if.org Git - php/commitdiff
add SIZEOF_SIZE_T to oniguruma
authorAnatol Belski <ab@php.net>
Sat, 15 Aug 2015 09:39:06 +0000 (11:39 +0200)
committerAnatol Belski <ab@php.net>
Sat, 15 Aug 2015 09:39:06 +0000 (11:39 +0200)
ext/mbstring/oniguruma/win32/config.h

index bdbdaf25c1fa11e4b99599e8c3cb46847f6290e7..b2afbe960c0d82546c5239d5c3f8c5b2ef1d25aa 100644 (file)
 #define SIZEOF_VOIDP 4
 #define SIZEOF_FLOAT 4
 #define SIZEOF_DOUBLE 8
+#ifdef _WIN64
+#define SIZEOF_SIZE_T 8
+#else
+#define SIZEOF_SIZE_T 4
+#endif
 #define HAVE_PROTOTYPES 1
 #define TOKEN_PASTE(x,y) x##y
 #define HAVE_STDARG_PROTOTYPES 1