]> granicus.if.org Git - php/commitdiff
Fixed bug #29264. Newer libintl redefines function names so all
authorEdin Kadribasic <edink@php.net>
Thu, 29 Jul 2004 22:23:23 +0000 (22:23 +0000)
committerEdin Kadribasic <edink@php.net>
Thu, 29 Jul 2004 22:23:23 +0000 (22:23 +0000)
PHP gettext function names become prefixed with libintl_

ext/gettext/gettext.c

index 888baa384bd219f2ed11120f08ab39ec402e8600..e455b8536a73fec955107f87481eb08a7a679d64 100644 (file)
@@ -27,7 +27,6 @@
 #if HAVE_LIBINTL
 
 #include <stdio.h>
-#include <libintl.h>
 #include "ext/standard/info.h"
 #include "php_gettext.h"
 
@@ -57,6 +56,8 @@ function_entry php_gettext_functions[] = {
 };
 /* }}} */
 
+#include <libintl.h>
+
 zend_module_entry php_gettext_module_entry = {
        STANDARD_MODULE_HEADER,
        "gettext",