diff options
author | Olly Betts <olly@survex.com> | 2021-03-17 12:45:17 +1300 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2021-03-19 19:30:27 +1300 |
commit | 3584c7d49cb598ce79d5e285d6c17b2dedfe3ecb (patch) | |
tree | de791de9522ea7676b526a3a09fe49e08b2ed76d /Lib/exception.i | |
parent | 3b822ee60c9195283f461120252fdf34b7328050 (diff) | |
download | swig-3584c7d49cb598ce79d5e285d6c17b2dedfe3ecb.tar.gz |
Add initial support for PHP8
Testcase director_overload2 is failing, but the rest of the testsuite
passes.
Diffstat (limited to 'Lib/exception.i')
-rw-r--r-- | Lib/exception.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/exception.i b/Lib/exception.i index ee9ce9bc6..3d6eeccdf 100644 --- a/Lib/exception.i +++ b/Lib/exception.i @@ -12,7 +12,7 @@ %insert("runtime") "swigerrors.swg" -#ifdef SWIGPHP7 +#ifdef SWIGPHP %{ #include "zend_exceptions.h" #define SWIG_exception(code, msg) do { zend_throw_exception(NULL, (char*)msg, code); goto thrown; } while (0) |