diff options
author | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-06-25 10:59:58 +0200 |
---|---|---|
committer | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-06-25 10:59:58 +0200 |
commit | 9c5074a484b7f10e65471a21a7ef50dda8391509 (patch) | |
tree | 3f106a51663d8abca754f1dc77716e36b76116f7 /ext/intl/php_intl.h | |
parent | ee8b9d5c6f7390a56b277b170e2e3baee5c74bf4 (diff) | |
download | php-git-9c5074a484b7f10e65471a21a7ef50dda8391509.tar.gz |
Fix undeclared intl_locale_get_default()
This was causing segfaults at least in the resourcebundle
constructor.
Also moved intl_locale_get_default() to a more central location
and fixed a constness warning in resourcebundle_ctor().
Diffstat (limited to 'ext/intl/php_intl.h')
-rwxr-xr-x | ext/intl/php_intl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/intl/php_intl.h b/ext/intl/php_intl.h index c3d5c60f07..7a7112317d 100755 --- a/ext/intl/php_intl.h +++ b/ext/intl/php_intl.h @@ -69,6 +69,8 @@ PHP_RINIT_FUNCTION(intl); PHP_RSHUTDOWN_FUNCTION(intl); PHP_MINFO_FUNCTION(intl); +const char *intl_locale_get_default( TSRMLS_D ); + #define PHP_INTL_VERSION "1.1.0" #endif /* PHP_INTL_H */ |