Remove lingering relic of PHP4 support
This commit is contained in:
parent
b72aca1d07
commit
23bcc1c66b
1 changed files with 2 additions and 6 deletions
|
|
@ -14,12 +14,8 @@
|
|||
|
||||
#ifdef SWIGPHP
|
||||
%{
|
||||
#if PHP_MAJOR_VERSION < 5
|
||||
# define SWIG_exception(code, msg) { zend_error(E_ERROR, msg); }
|
||||
#else
|
||||
# include "zend_exceptions.h"
|
||||
# define SWIG_exception(code, msg) { zend_throw_exception(NULL, (char*)msg, code TSRMLS_CC); }
|
||||
#endif
|
||||
#include "zend_exceptions.h"
|
||||
#define SWIG_exception(code, msg) { zend_throw_exception(NULL, (char*)msg, code TSRMLS_CC); }
|
||||
%}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue