andrei          Thu May  4 16:49:33 2006 UTC

  Modified files:              
    /php-src/ext/unicode        php_unicode.h 
  Log:
  Fix locale functions naming problem.
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/unicode/php_unicode.h?r1=1.12&r2=1.13&diff_format=u
Index: php-src/ext/unicode/php_unicode.h
diff -u php-src/ext/unicode/php_unicode.h:1.12 
php-src/ext/unicode/php_unicode.h:1.13
--- php-src/ext/unicode/php_unicode.h:1.12      Tue May  2 20:58:30 2006
+++ php-src/ext/unicode/php_unicode.h   Thu May  4 16:49:33 2006
@@ -14,7 +14,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_unicode.h,v 1.12 2006/05/02 20:58:30 andrei Exp $ */ 
+/* $Id: php_unicode.h,v 1.13 2006/05/04 16:49:33 andrei Exp $ */ 
 
 #ifndef PHP_UNICODE_H
 #define PHP_UNICODE_H
@@ -53,6 +53,13 @@
 #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);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to