[Python-checkins] python/dist/src/Modules _localemodule.c,2.30,2.31
loewis@sourceforge.net
loewis@sourceforge.net
Thu, 02 May 2002 05:16:31 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv10052
Modified Files:
_localemodule.c
Log Message:
Guard gettext and friends with HAVE_LIBINTL_H. Fixes #549907.
Index: _localemodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_localemodule.c,v
retrieving revision 2.30
retrieving revision 2.31
diff -C2 -d -r2.30 -r2.31
*** _localemodule.c 19 Apr 2002 21:04:41 -0000 2.30
--- _localemodule.c 2 May 2002 12:16:29 -0000 2.31
***************
*** 640,644 ****
METH_VARARGS, nl_langinfo__doc__},
#endif
! #ifdef HAVE_LANGINFO_H
{"gettext",(PyCFunction)PyIntl_gettext,METH_VARARGS,
gettext__doc__},
--- 640,644 ----
METH_VARARGS, nl_langinfo__doc__},
#endif
! #ifdef HAVE_LIBINTL_H
{"gettext",(PyCFunction)PyIntl_gettext,METH_VARARGS,
gettext__doc__},