New upstream version 2.3.4
This commit is contained in:
parent
e7bdd1c6c6
commit
de72f6f588
556 changed files with 90432 additions and 53391 deletions
|
@ -1,22 +1,22 @@
|
|||
/* Substitute for and wrapper around <langinfo.h>.
|
||||
Copyright (C) 2009-2013 Free Software Foundation, Inc.
|
||||
Copyright (C) 2009-2023 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3, or (at your option)
|
||||
any later version.
|
||||
This file is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as
|
||||
published by the Free Software Foundation; either version 2.1 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
This file is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, see <http://www.gnu.org/licenses/>. */
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/*
|
||||
* POSIX <langinfo.h> for platforms that lack it or have an incomplete one.
|
||||
* <http://www.opengroup.org/onlinepubs/9699919799/basedefs/langinfo.h.html>
|
||||
* <https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/langinfo.h.html>
|
||||
*/
|
||||
|
||||
#ifndef _@GUARD_PREFIX@_LANGINFO_H
|
||||
|
@ -49,7 +49,10 @@ typedef int nl_item;
|
|||
# define CODESET 10000
|
||||
/* nl_langinfo items of the LC_NUMERIC category */
|
||||
# define RADIXCHAR 10001
|
||||
# define DECIMAL_POINT RADIXCHAR
|
||||
# define THOUSEP 10002
|
||||
# define THOUSANDS_SEP THOUSEP
|
||||
# define GROUPING 10114
|
||||
/* nl_langinfo items of the LC_TIME category */
|
||||
# define D_T_FMT 10003
|
||||
# define D_FMT 10004
|
||||
|
@ -83,6 +86,18 @@ typedef int nl_item;
|
|||
# define MON_10 (MON_1 + 9)
|
||||
# define MON_11 (MON_1 + 10)
|
||||
# define MON_12 (MON_1 + 11)
|
||||
# define ALTMON_1 10200
|
||||
# define ALTMON_2 (ALTMON_1 + 1)
|
||||
# define ALTMON_3 (ALTMON_1 + 2)
|
||||
# define ALTMON_4 (ALTMON_1 + 3)
|
||||
# define ALTMON_5 (ALTMON_1 + 4)
|
||||
# define ALTMON_6 (ALTMON_1 + 5)
|
||||
# define ALTMON_7 (ALTMON_1 + 6)
|
||||
# define ALTMON_8 (ALTMON_1 + 7)
|
||||
# define ALTMON_9 (ALTMON_1 + 8)
|
||||
# define ALTMON_10 (ALTMON_1 + 9)
|
||||
# define ALTMON_11 (ALTMON_1 + 10)
|
||||
# define ALTMON_12 (ALTMON_1 + 11)
|
||||
# define ABMON_1 10035
|
||||
# define ABMON_2 (ABMON_1 + 1)
|
||||
# define ABMON_3 (ABMON_1 + 2)
|
||||
|
@ -102,6 +117,21 @@ typedef int nl_item;
|
|||
# define ALT_DIGITS 10051
|
||||
/* nl_langinfo items of the LC_MONETARY category */
|
||||
# define CRNCYSTR 10052
|
||||
# define CURRENCY_SYMBOL CRNCYSTR
|
||||
# define INT_CURR_SYMBOL 10100
|
||||
# define MON_DECIMAL_POINT 10101
|
||||
# define MON_THOUSANDS_SEP 10102
|
||||
# define MON_GROUPING 10103
|
||||
# define POSITIVE_SIGN 10104
|
||||
# define NEGATIVE_SIGN 10105
|
||||
# define FRAC_DIGITS 10106
|
||||
# define INT_FRAC_DIGITS 10107
|
||||
# define P_CS_PRECEDES 10108
|
||||
# define N_CS_PRECEDES 10109
|
||||
# define P_SEP_BY_SPACE 10110
|
||||
# define N_SEP_BY_SPACE 10111
|
||||
# define P_SIGN_POSN 10112
|
||||
# define N_SIGN_POSN 10113
|
||||
/* nl_langinfo items of the LC_MESSAGES category */
|
||||
# define YESEXPR 10053
|
||||
# define NOEXPR 10054
|
||||
|
@ -120,6 +150,22 @@ typedef int nl_item;
|
|||
# define GNULIB_defined_T_FMT_AMPM 1
|
||||
# endif
|
||||
|
||||
# if !@HAVE_LANGINFO_ALTMON@
|
||||
# define ALTMON_1 10200
|
||||
# define ALTMON_2 (ALTMON_1 + 1)
|
||||
# define ALTMON_3 (ALTMON_1 + 2)
|
||||
# define ALTMON_4 (ALTMON_1 + 3)
|
||||
# define ALTMON_5 (ALTMON_1 + 4)
|
||||
# define ALTMON_6 (ALTMON_1 + 5)
|
||||
# define ALTMON_7 (ALTMON_1 + 6)
|
||||
# define ALTMON_8 (ALTMON_1 + 7)
|
||||
# define ALTMON_9 (ALTMON_1 + 8)
|
||||
# define ALTMON_10 (ALTMON_1 + 9)
|
||||
# define ALTMON_11 (ALTMON_1 + 10)
|
||||
# define ALTMON_12 (ALTMON_1 + 11)
|
||||
# define GNULIB_defined_ALTMON 1
|
||||
# endif
|
||||
|
||||
# if !@HAVE_LANGINFO_ERA@
|
||||
# define ERA 10047
|
||||
# define ERA_D_FMT 10048
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue