diff options
Diffstat (limited to '68.patch')
-rw-r--r-- | 68.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/68.patch b/68.patch new file mode 100644 index 0000000..b7d35f6 --- /dev/null +++ b/68.patch @@ -0,0 +1,21 @@ +From 1130578f37f48cec21b8d3eab7ffac96366662e1 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +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)) |