[php] Fix SWIG_ZEND_CONSTANT_SET_FLAGS for PHP < 7.3
This commit is contained in:
parent
9f84ca8a00
commit
351f981952
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ extern "C" {
|
|||
#ifdef ZEND_CONSTANT_SET_FLAGS
|
||||
# define SWIG_ZEND_CONSTANT_SET_FLAGS ZEND_CONSTANT_SET_FLAGS
|
||||
#else
|
||||
# define SWIG_ZEND_CONSTANT_SET_FLAGS(C, F, N) do { (C).flags = (F); (C).module_number = (N); } while (0)
|
||||
# define SWIG_ZEND_CONSTANT_SET_FLAGS(C, F, N) do { (C)->flags = (F); (C)->module_number = (N); } while (0)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue