diff options
author | Olly Betts <olly@survex.com> | 2022-01-21 13:09:47 +1300 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2022-01-21 13:09:47 +1300 |
commit | 772ea68084a5fd406f358035f90fd2d01e605139 (patch) | |
tree | bdabee97308c93d46124012cd31a4fe5d94188d0 /Lib/php | |
parent | c197ed719a7805ad15e8c973e2488732025efb18 (diff) | |
download | swig-772ea68084a5fd406f358035f90fd2d01e605139.tar.gz |
[php] Fix minor version test
Diffstat (limited to 'Lib/php')
-rw-r--r-- | Lib/php/phprun.swg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/php/phprun.swg b/Lib/php/phprun.swg index 92657806f..622200836 100644 --- a/Lib/php/phprun.swg +++ b/Lib/php/phprun.swg @@ -97,7 +97,7 @@ static zend_class_entry SWIG_Php_swig_wrapped_interface_ce; #if PHP_MAJOR_VERSION == 7 /* The sense of parameter 3 of instanceof_function_ex() changed in PHP 7.4! */ -# if PHP_MINOR <= 3 +# if PHP_MINOR_VERSION <= 3 # define zend_class_implements_interface(C, I) instanceof_function_ex(C, I, 0) # else # define zend_class_implements_interface(C, I) instanceof_function_ex(C, I, 1) |