Skip to content

Commit 1b4635b

Browse files
committed
66f1e04 broke ZTS builds, add TSRMLS_FETCH call before querying use_str8_serialization when packing a str
1 parent ce27a10 commit 1b4635b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

msgpack/pack_template.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,7 @@ msgpack_pack_inline_func(_map)(msgpack_pack_user x, unsigned int n)
727727

728728
msgpack_pack_inline_func(_raw)(msgpack_pack_user x, size_t l)
729729
{
730+
TSRMLS_FETCH();
730731
if(l < 32) {
731732
unsigned char d = 0xa0 | l;
732733
msgpack_pack_append_buffer(x, &TAKE8_8(d), 1);

0 commit comments

Comments
 (0)