diff --git a/src/php7_ext_wrapper.h b/src/php7_ext_wrapper.h index 0e03029..899017b 100644 --- a/src/php7_ext_wrapper.h +++ b/src/php7_ext_wrapper.h @@ -34,6 +34,14 @@ #include #include +#ifndef TSRMLS_DC +#define TSRMLS_DC +#endif + +#ifndef TSRMLS_CC +#define TSRMLS_CC +#endif + #if PHP_MAJOR_VERSION < 7 typedef int zend_size_t; #define ZEND_RETURN_STRING(s, dup) RETURN_STRING(s, dup)