mirror of https://github.com/python/cpython
Don't imply XPG4 constants from CODESET presence. Fixes #534153.
2.2.2 candiate.
This commit is contained in:
parent
1d46e40f58
commit
496f9e41ef
|
@ -478,9 +478,12 @@ struct langinfo_constant{
|
||||||
LANGINFO(AM_STR),
|
LANGINFO(AM_STR),
|
||||||
LANGINFO(PM_STR),
|
LANGINFO(PM_STR),
|
||||||
|
|
||||||
|
/* The following constants are available only with XPG4. AIX 3.2. only has
|
||||||
|
CODESET. */
|
||||||
#ifdef CODESET
|
#ifdef CODESET
|
||||||
/* The following constants are available only with XPG4. */
|
|
||||||
LANGINFO(CODESET),
|
LANGINFO(CODESET),
|
||||||
|
#endif
|
||||||
|
#ifdef T_FMT_AMPM
|
||||||
LANGINFO(T_FMT_AMPM),
|
LANGINFO(T_FMT_AMPM),
|
||||||
LANGINFO(ERA),
|
LANGINFO(ERA),
|
||||||
LANGINFO(ERA_D_FMT),
|
LANGINFO(ERA_D_FMT),
|
||||||
|
|
Loading…
Reference in New Issue