com php-src: add SIZEOF_SIZE_T to oniguruma: ext/mb string/oniguruma/win32/config.h
| From: | Anatol Belski | Date: | Sat, 15 Aug 2015 09:39:06 +0000 |
| Subject: | com php-src: add SIZEOF_SIZE_T to oniguruma: ext/mb string/oniguruma/win32/config.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-88548@lists.php.net to get a copy of this message | ||
Commit: 3689b44453f12250c8f628a9b81bca3344f41921
Author: Anatol Belski <ab@php.net> Sat, 15 Aug 2015 11:39:06 +0200
Parents: 228eaf5bc44eb9b91e1bd08862973fcad547e919
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3689b44453f12250c8f628a9b81bca3344f41921
Log:
add SIZEOF_SIZE_T to oniguruma
Changed paths:
M ext/mbstring/oniguruma/win32/config.h
Diff:
diff --git a/ext/mbstring/oniguruma/win32/config.h b/ext/mbstring/oniguruma/win32/config.h
index bdbdaf2..b2afbe9 100644
--- a/ext/mbstring/oniguruma/win32/config.h
+++ b/ext/mbstring/oniguruma/win32/config.h
@@ -15,6 +15,11 @@
#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