Skip to content

Commit c7fe8aa

Browse files
committed
use Zend/zend_smart_string.h
1 parent 103c702 commit c7fe8aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/php7/php_igbinary.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ ZEND_END_MODULE_GLOBALS(igbinary)
3232
#include "TSRM.h"
3333
#endif
3434

35+
#if PHP_VERSION_ID < 70200
3536
#include "ext/standard/php_smart_string.h"
37+
#else
38+
#include "Zend/zend_smart_string.h"
39+
#endif
3640

3741
/** Module init function. */
3842
PHP_MINIT_FUNCTION(igbinary);

0 commit comments

Comments
 (0)