Skip to content

Commit e061583

Browse files
authored
Merge pull request #88 from remicollet/issue-php85-alpha3
use Zend/zend_smart_string.h
2 parents 19f9cbc + 96d5dce commit e061583

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

zstd.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@
3030
#include <php_ini.h>
3131
#include <ext/standard/file.h>
3232
#include <ext/standard/info.h>
33+
#if PHP_VERSION_ID < 70200
3334
#include <ext/standard/php_smart_string.h>
35+
#else
36+
#include "Zend/zend_smart_string.h"
37+
#endif
3438
#if defined(HAVE_APCU_SUPPORT)
3539
#include <ext/standard/php_var.h>
3640
#include <ext/apcu/apc_serializer.h>

0 commit comments

Comments
 (0)