From 2c42e06895f295bc0ef5a65df80ea51ca9bd34e0 Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Thu, 4 May 2006 16:49:33 +0000 Subject: [PATCH] Fix locale functions naming problem. --- ext/unicode/php_unicode.h | 7 +++++++ 1 file changed, 7 insertions(+) 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); -- 2.40.0