fix #95 compatibility with PHP 5.x

This commit is contained in:
Remi Collet
2023-03-17 15:31:21 -07:00
committed by Dengke Tang
parent ed3f8ca16d
commit d87841905e
+1
View File
@@ -60,6 +60,7 @@ ZEND_EXTERN_MODULE_GLOBALS(awscrt)
# define XRETURN_STRING(s) RETURN_STRING(s, 1) # define XRETURN_STRING(s) RETURN_STRING(s, 1)
# define XRETVAL_STRINGL(s, l) RETVAL_STRINGL(s, l, 1) # define XRETVAL_STRINGL(s, l) RETVAL_STRINGL(s, l, 1)
# define XRETVAL_STRING(s) RETVAL_STRING(s, 1) # define XRETVAL_STRING(s) RETVAL_STRING(s, 1)
# define zend_error_noreturn zend_error
#endif /* PHP 5.x */ #endif /* PHP 5.x */
#include "api.h" #include "api.h"