From: Andrei Zmievski Date: Thu, 4 May 2006 16:49:33 +0000 (+0000) Subject: Fix locale functions naming problem. X-Git-Tag: BEFORE_NEW_OUTPUT_API~311 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c42e06895f295bc0ef5a65df80ea51ca9bd34e0;p=php Fix locale functions naming problem. --- diff --git a/ext/unicode/php_unicode.h b/ext/unicode/php_unicode.h index 3ca2045529..45efaca5d1 100644 --- a/ext/unicode/php_unicode.h +++ b/ext/unicode/php_unicode.h @@ -53,6 +53,13 @@ PHP_MINFO_FUNCTION(unicode); #include "TSRM.h" #endif +/* + * Because of ICU they are expanded to have _ suffix + * We don't want that + */ +#undef locale_get_default +#undef locale_set_default + PHP_FUNCTION(locale_get_default); PHP_FUNCTION(locale_set_default); PHP_FUNCTION(collator_create);