diff options
author | Xinchen Hui <laruence@php.net> | 2014-06-28 20:14:12 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2014-06-28 20:14:12 +0800 |
commit | e4e9e80067076074e3e6fd9fd2603ec7698c0d33 (patch) | |
tree | bf393a581a45ab21f333c9add28f1195829614c7 /ext/intl/normalizer | |
parent | b6e9c76d67a8cfb397598ac354d9aeb9609ba1d2 (diff) | |
download | php-git-e4e9e80067076074e3e6fd9fd2603ec7698c0d33.tar.gz |
Fixed segfault while starting up
Diffstat (limited to 'ext/intl/normalizer')
-rw-r--r-- | ext/intl/normalizer/normalizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/normalizer/normalizer.c b/ext/intl/normalizer/normalizer.c index 033b05cd32..f06a3e685c 100644 --- a/ext/intl/normalizer/normalizer.c +++ b/ext/intl/normalizer/normalizer.c @@ -37,7 +37,7 @@ void normalizer_register_constants( INIT_FUNC_ARGS ) return; } - #define NORMALIZER_EXPOSE_CONST(x) REGISTER_LONG_CONSTANT(#x, x, CONST_CS) + #define NORMALIZER_EXPOSE_CONST(x) REGISTER_LONG_CONSTANT(#x, x, CONST_PERSISTENT | CONST_CS) #define NORMALIZER_EXPOSE_CLASS_CONST(x) zend_declare_class_constant_long( Normalizer_ce_ptr, ZEND_STRS( #x ) - 1, NORMALIZER_##x TSRMLS_CC ); #define NORMALIZER_EXPOSE_CUSTOM_CLASS_CONST(name, value) zend_declare_class_constant_long( Normalizer_ce_ptr, ZEND_STRS( name ) - 1, value TSRMLS_CC ); |