summaryrefslogtreecommitdiff
path: root/ext/gettext/php_gettext.h
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-09-24 02:07:04 +0000
committerfoobar <sniper@php.net>2003-09-24 02:07:04 +0000
commit258d5838bbdbff888df0f17a7fd4835ee7b10089 (patch)
tree32ac055c7c8b7e37e5ffa61980517959aba2574b /ext/gettext/php_gettext.h
parent431e5cf5b80a8edb996161921e31e4183e03b62b (diff)
downloadphp-git-258d5838bbdbff888df0f17a7fd4835ee7b10089.tar.gz
- Fixed bug #24402 (Compile failure with gettext 0.12.x)
Diffstat (limited to 'ext/gettext/php_gettext.h')
-rw-r--r--ext/gettext/php_gettext.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/ext/gettext/php_gettext.h b/ext/gettext/php_gettext.h
index df5d4d775f..610e0675cb 100644
--- a/ext/gettext/php_gettext.h
+++ b/ext/gettext/php_gettext.h
@@ -22,31 +22,28 @@
#define PHP_GETTEXT_H
#if HAVE_LIBINTL
-#ifndef INIT_FUNC_ARGS
-#include "zend_modules.h"
-#endif
extern zend_module_entry php_gettext_module_entry;
#define gettext_module_ptr &php_gettext_module_entry
-PHP_MINFO_FUNCTION(gettext);
+PHP_MINFO_FUNCTION(php_gettext);
-PHP_FUNCTION(textdomain);
-PHP_FUNCTION(gettext);
-PHP_FUNCTION(dgettext);
-PHP_FUNCTION(dcgettext);
-PHP_FUNCTION(bindtextdomain);
+PHP_NAMED_FUNCTION(zif_textdomain);
+PHP_NAMED_FUNCTION(zif_gettext);
+PHP_NAMED_FUNCTION(zif_dgettext);
+PHP_NAMED_FUNCTION(zif_dcgettext);
+PHP_NAMED_FUNCTION(zif_bindtextdomain);
#if HAVE_NGETTEXT
-PHP_FUNCTION(ngettext);
+PHP_NAMED_FUNCTION(zif_ngettext);
#endif
#if HAVE_DNGETTEXT
-PHP_FUNCTION(dngettext);
+PHP_NAMED_FUNCTION(zif_dngettext);
#endif
#if HAVE_DCNGETTEXT
-PHP_FUNCTION(dcngettext);
+PHP_NAMED_FUNCTION(zif_dcngettext);
#endif
#if HAVE_BIND_TEXTDOMAIN_CODESET
-PHP_FUNCTION(bind_textdomain_codeset);
+PHP_NAMED_FUNCTION(zif_bind_textdomain_codeset);
#endif
#else