Skip to content

Commit 3689b44

Browse files
committed
add SIZEOF_SIZE_T to oniguruma
1 parent 228eaf5 commit 3689b44

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ext/mbstring/oniguruma/win32/config.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
#define SIZEOF_VOIDP 4
1616
#define SIZEOF_FLOAT 4
1717
#define SIZEOF_DOUBLE 8
18+
#ifdef _WIN64
19+
#define SIZEOF_SIZE_T 8
20+
#else
21+
#define SIZEOF_SIZE_T 4
22+
#endif
1823
#define HAVE_PROTOTYPES 1
1924
#define TOKEN_PASTE(x,y) x##y
2025
#define HAVE_STDARG_PROTOTYPES 1

0 commit comments

Comments
 (0)