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:
Olly Betts 2006-09-29 10:03:50 +00:00
commit baabc2b834

View file

@ -15,7 +15,7 @@
%insert("runtime") "swigerrors.swg"
#ifdef SWIGPHP4
#ifdef SWIGPHP
%{
#if PHP_MAJOR_VERSION < 5
# define SWIG_exception(code, msg) { zend_error(E_ERROR, msg); }