commit | c6a7d7ef496995a29a163c2c72ec749c85274b72 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Thu May 02 12:16:29 2002 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Thu May 02 12:16:29 2002 +0000 |
tree | 78233997b66b248c191c83932b52aab925c60ef0 | |
parent | 4b270518b741d037ac8355a26a132b05a2639dce [diff] [blame] |
Guard gettext and friends with HAVE_LIBINTL_H. Fixes #549907.
diff --git a/Modules/_localemodule.c b/Modules/_localemodule.c index e1f95a1..06f5346 100644 --- a/Modules/_localemodule.c +++ b/Modules/_localemodule.c
@@ -639,7 +639,7 @@ {"nl_langinfo", (PyCFunction) PyLocale_nl_langinfo, METH_VARARGS, nl_langinfo__doc__}, #endif -#ifdef HAVE_LANGINFO_H +#ifdef HAVE_LIBINTL_H {"gettext",(PyCFunction)PyIntl_gettext,METH_VARARGS, gettext__doc__}, {"dgettext",(PyCFunction)PyIntl_dgettext,METH_VARARGS,