diff --git a/ext/php_aws_crt.h b/ext/php_aws_crt.h index 68951c1..a1fd37c 100644 --- a/ext/php_aws_crt.h +++ b/ext/php_aws_crt.h @@ -60,6 +60,7 @@ ZEND_EXTERN_MODULE_GLOBALS(awscrt) # define XRETURN_STRING(s) RETURN_STRING(s, 1) # define XRETVAL_STRINGL(s, l) RETVAL_STRINGL(s, l, 1) # define XRETVAL_STRING(s) RETVAL_STRING(s, 1) +# define zend_error_noreturn zend_error #endif /* PHP 5.x */ #include "api.h"