Kaydet (Commit) c6a7d7ef authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Guard gettext and friends with HAVE_LIBINTL_H. Fixes #549907.

üst 4b270518
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment