diff options
Diffstat (limited to 'gl/langinfo.in.h')
| -rw-r--r-- | gl/langinfo.in.h | 49 |
1 files changed, 46 insertions, 3 deletions
diff --git a/gl/langinfo.in.h b/gl/langinfo.in.h index febbd25f..e16c95b3 100644 --- a/gl/langinfo.in.h +++ b/gl/langinfo.in.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Substitute for and wrapper around <langinfo.h>. | 1 | /* Substitute for and wrapper around <langinfo.h>. |
| 2 | Copyright (C) 2009-2024 Free Software Foundation, Inc. | 2 | Copyright (C) 2009-2025 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is free software: you can redistribute it and/or modify | 4 | This file is free software: you can redistribute it and/or modify |
| 5 | it under the terms of the GNU Lesser General Public License as | 5 | it under the terms of the GNU Lesser General Public License as |
| @@ -115,6 +115,18 @@ typedef int nl_item; | |||
| 115 | # define ABMON_10 (ABMON_1 + 9) | 115 | # define ABMON_10 (ABMON_1 + 9) |
| 116 | # define ABMON_11 (ABMON_1 + 10) | 116 | # define ABMON_11 (ABMON_1 + 10) |
| 117 | # define ABMON_12 (ABMON_1 + 11) | 117 | # define ABMON_12 (ABMON_1 + 11) |
| 118 | # define ABALTMON_1 10220 | ||
| 119 | # define ABALTMON_2 (ABALTMON_1 + 1) | ||
| 120 | # define ABALTMON_3 (ABALTMON_1 + 2) | ||
| 121 | # define ABALTMON_4 (ABALTMON_1 + 3) | ||
| 122 | # define ABALTMON_5 (ABALTMON_1 + 4) | ||
| 123 | # define ABALTMON_6 (ABALTMON_1 + 5) | ||
| 124 | # define ABALTMON_7 (ABALTMON_1 + 6) | ||
| 125 | # define ABALTMON_8 (ABALTMON_1 + 7) | ||
| 126 | # define ABALTMON_9 (ABALTMON_1 + 8) | ||
| 127 | # define ABALTMON_10 (ABALTMON_1 + 9) | ||
| 128 | # define ABALTMON_11 (ABALTMON_1 + 10) | ||
| 129 | # define ABALTMON_12 (ABALTMON_1 + 11) | ||
| 118 | # define ERA 10047 | 130 | # define ERA 10047 |
| 119 | # define ERA_D_FMT 10048 | 131 | # define ERA_D_FMT 10048 |
| 120 | # define ERA_D_T_FMT 10049 | 132 | # define ERA_D_T_FMT 10049 |
| @@ -171,6 +183,37 @@ typedef int nl_item; | |||
| 171 | # define GNULIB_defined_ALTMON 1 | 183 | # define GNULIB_defined_ALTMON 1 |
| 172 | # endif | 184 | # endif |
| 173 | 185 | ||
| 186 | # if !@HAVE_LANGINFO_ABALTMON@ | ||
| 187 | # if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 27 | ||
| 188 | # define ABALTMON_1 _NL_ABALTMON_1 | ||
| 189 | # define ABALTMON_2 _NL_ABALTMON_2 | ||
| 190 | # define ABALTMON_3 _NL_ABALTMON_3 | ||
| 191 | # define ABALTMON_4 _NL_ABALTMON_4 | ||
| 192 | # define ABALTMON_5 _NL_ABALTMON_5 | ||
| 193 | # define ABALTMON_6 _NL_ABALTMON_6 | ||
| 194 | # define ABALTMON_7 _NL_ABALTMON_7 | ||
| 195 | # define ABALTMON_8 _NL_ABALTMON_8 | ||
| 196 | # define ABALTMON_9 _NL_ABALTMON_9 | ||
| 197 | # define ABALTMON_10 _NL_ABALTMON_10 | ||
| 198 | # define ABALTMON_11 _NL_ABALTMON_11 | ||
| 199 | # define ABALTMON_12 _NL_ABALTMON_12 | ||
| 200 | # else | ||
| 201 | # define ABALTMON_1 10220 | ||
| 202 | # define ABALTMON_2 (ABALTMON_1 + 1) | ||
| 203 | # define ABALTMON_3 (ABALTMON_1 + 2) | ||
| 204 | # define ABALTMON_4 (ABALTMON_1 + 3) | ||
| 205 | # define ABALTMON_5 (ABALTMON_1 + 4) | ||
| 206 | # define ABALTMON_6 (ABALTMON_1 + 5) | ||
| 207 | # define ABALTMON_7 (ABALTMON_1 + 6) | ||
| 208 | # define ABALTMON_8 (ABALTMON_1 + 7) | ||
| 209 | # define ABALTMON_9 (ABALTMON_1 + 8) | ||
| 210 | # define ABALTMON_10 (ABALTMON_1 + 9) | ||
| 211 | # define ABALTMON_11 (ABALTMON_1 + 10) | ||
| 212 | # define ABALTMON_12 (ABALTMON_1 + 11) | ||
| 213 | # define GNULIB_defined_ABALTMON 1 | ||
| 214 | # endif | ||
| 215 | # endif | ||
| 216 | |||
| 174 | # if !@HAVE_LANGINFO_ERA@ | 217 | # if !@HAVE_LANGINFO_ERA@ |
| 175 | # define ERA 10047 | 218 | # define ERA 10047 |
| 176 | # define ERA_D_FMT 10048 | 219 | # define ERA_D_FMT 10048 |
| @@ -205,11 +248,11 @@ typedef int nl_item; | |||
| 205 | # undef nl_langinfo | 248 | # undef nl_langinfo |
| 206 | # define nl_langinfo rpl_nl_langinfo | 249 | # define nl_langinfo rpl_nl_langinfo |
| 207 | # endif | 250 | # endif |
| 208 | _GL_FUNCDECL_RPL (nl_langinfo, char *, (nl_item item)); | 251 | _GL_FUNCDECL_RPL (nl_langinfo, char *, (nl_item item), ); |
| 209 | _GL_CXXALIAS_RPL (nl_langinfo, char *, (nl_item item)); | 252 | _GL_CXXALIAS_RPL (nl_langinfo, char *, (nl_item item)); |
| 210 | # else | 253 | # else |
| 211 | # if !@HAVE_NL_LANGINFO@ | 254 | # if !@HAVE_NL_LANGINFO@ |
| 212 | _GL_FUNCDECL_SYS (nl_langinfo, char *, (nl_item item)); | 255 | _GL_FUNCDECL_SYS (nl_langinfo, char *, (nl_item item), ); |
| 213 | # endif | 256 | # endif |
| 214 | _GL_CXXALIAS_SYS (nl_langinfo, char *, (nl_item item)); | 257 | _GL_CXXALIAS_SYS (nl_langinfo, char *, (nl_item item)); |
| 215 | # endif | 258 | # endif |
