[Python-checkins] CVS: python/dist/src/Modules _localemodule.c,2.20,2.21
Martin v. L?wis
loewis@users.sourceforge.net
2001年8月10日 12:41:47 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv17943
Modified Files:
_localemodule.c
Log Message:
_DATE_FMT does not always accompany CODESET.
Index: _localemodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_localemodule.c,v
retrieving revision 2.20
retrieving revision 2.21
diff -C2 -d -r2.20 -r2.21
*** _localemodule.c 2001年08月10日 13:58:50 2.20
--- _localemodule.c 2001年08月10日 19:41:45 2.21
***************
*** 556,559 ****
--- 556,562 ----
ADDINT(YESEXPR);
ADDINT(NOEXPR);
+ #endif
+ #ifdef _DATE_FMT
+ /* This is not available in all glibc versions that have CODESET. */
ADDINT(_DATE_FMT);
#endif