From 1130578f37f48cec21b8d3eab7ffac96366662e1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 12 Dec 2018 07:54:03 +0100 Subject: [PATCH] fix build with PHP 7.0 --- php_taint.h | 1 + 1 file changed, 1 insertion(+) diff --git a/php_taint.h b/php_taint.h index 8b26289..7961e50 100644 --- a/php_taint.h +++ b/php_taint.h @@ -65,6 +65,7 @@ extern zend_module_entry taint_module_entry; #define TAINT_OP2_TYPE(opline) (opline->op2_type) #if PHP_VERSION_ID < 70100 +#define PHP_7_0 1 #define TAINT_RET_USED(opline) (!((opline)->result_type & EXT_TYPE_UNUSED)) #define TAINT_ISERR(var) (var == &EG(error_zval)) #define TAINT_ERR_ZVAL(var) (var = &EG(error_zval))