]> granicus.if.org Git - php/commitdiff
Fix locale functions naming problem.
authorAndrei Zmievski <andrei@php.net>
Thu, 4 May 2006 16:49:33 +0000 (16:49 +0000)
committerAndrei Zmievski <andrei@php.net>
Thu, 4 May 2006 16:49:33 +0000 (16:49 +0000)
ext/unicode/php_unicode.h

index 3ca20455292c72470b273aa916d5e81115fdfe48..45efaca5d18b13ffe27f5a9eba4aa20388faff9d 100644 (file)
@@ -53,6 +53,13 @@ PHP_MINFO_FUNCTION(unicode);
 #include "TSRM.h"
 #endif
 
+/*
+ * Because of ICU they are expanded to have _<version> 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);