mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Guard gettext and friends with HAVE_LIBINTL_H. Fixes #549907.
This commit is contained in:
parent
4b270518b7
commit
c6a7d7ef49
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue