]> granicus.if.org Git - python/commitdiff
Guard gettext and friends with HAVE_LIBINTL_H. Fixes #549907.
authorMartin v. Löwis <martin@v.loewis.de>
Thu, 2 May 2002 12:16:29 +0000 (12:16 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Thu, 2 May 2002 12:16:29 +0000 (12:16 +0000)
Modules/_localemodule.c

index e1f95a1a7d1f9aa449207a6138d268f5f7f1e07e..06f53460298dd180b6a46a47ee349a329ac360dd 100644 (file)
@@ -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,