Use SWIGPHP rather than SWIGPHP4 since the latter is now only defined when
generating code explicitly for PHP4. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
24f1a5fed1
commit
baabc2b834
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
||||||
%insert("runtime") "swigerrors.swg"
|
%insert("runtime") "swigerrors.swg"
|
||||||
|
|
||||||
|
|
||||||
#ifdef SWIGPHP4
|
#ifdef SWIGPHP
|
||||||
%{
|
%{
|
||||||
#if PHP_MAJOR_VERSION < 5
|
#if PHP_MAJOR_VERSION < 5
|
||||||
# define SWIG_exception(code, msg) { zend_error(E_ERROR, msg); }
|
# define SWIG_exception(code, msg) { zend_error(E_ERROR, msg); }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue