mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Add #ifdefs for langinfo items that don't exist on OpenBSD.
* libguile/i18n.c (define_langinfo_items): Add #ifdefs for ERA_* and ALT_DIGITS, as those constants don't exist on OpenBSD.
This commit is contained in:
parent
222056dcf2
commit
1bd9a697b1
1 changed files with 10 additions and 0 deletions
|
@ -1744,13 +1744,23 @@ define_langinfo_items (void)
|
|||
DEFINE_NLITEM_CONSTANT (T_FMT); /* Time format for strftime. */
|
||||
DEFINE_NLITEM_CONSTANT (T_FMT_AMPM);/* 12-hour time format for strftime. */
|
||||
|
||||
#ifdef ERA
|
||||
DEFINE_NLITEM_CONSTANT (ERA); /* Alternate era. */
|
||||
#endif
|
||||
#ifdef ERA_D_FMT
|
||||
DEFINE_NLITEM_CONSTANT (ERA_D_FMT); /* Date in alternate era format. */
|
||||
#endif
|
||||
#ifdef ERA_D_T_FMT
|
||||
DEFINE_NLITEM_CONSTANT (ERA_D_T_FMT); /* Date and time in alternate era
|
||||
format. */
|
||||
#endif
|
||||
#ifdef ERA_T_FMT
|
||||
DEFINE_NLITEM_CONSTANT (ERA_T_FMT); /* Time in alternate era format. */
|
||||
#endif
|
||||
|
||||
#ifdef ALT_DIGITS
|
||||
DEFINE_NLITEM_CONSTANT (ALT_DIGITS); /* Alternate symbols for digits. */
|
||||
#endif
|
||||
DEFINE_NLITEM_CONSTANT (RADIXCHAR);
|
||||
DEFINE_NLITEM_CONSTANT (THOUSEP);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue