From c6a7d7ef496995a29a163c2c72ec749c85274b72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Thu, 2 May 2002 12:16:29 +0000 Subject: [PATCH] Guard gettext and friends with HAVE_LIBINTL_H. Fixes #549907. --- Modules/_localemodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_localemodule.c b/Modules/_localemodule.c index e1f95a1a7d1..06f53460298 100644 --- a/Modules/_localemodule.c +++ b/Modules/_localemodule.c @@ -639,7 +639,7 @@ static struct PyMethodDef PyLocale_Methods[] = { {"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,