Skip to content

Commit 87978c3

Browse files
committed
fix build with php-7.1
1 parent 6775c24 commit 87978c3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

msgpack_unpack.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
#if PHP_VERSION_ID < 70400
1313
# define zval_try_get_string zval_get_string
1414
#endif
15+
#if PHP_VERSION_ID < 70200
16+
# define zend_string_init_interned zend_string_init
17+
#endif
1518

1619
typedef struct {
1720
zend_long used_slots;

0 commit comments

Comments
 (0)