diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-11-06 09:24:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-06 09:24:23 +0100 |
commit | 9b4df9e50837cc837e113053ba12ee6967d5e6c2 (patch) | |
tree | bf989e771579f835bcb49c074637a8e224bcecbc /gl/langinfo.in.h | |
parent | 94150ae347beb25ac369d5773834ceef7f3736d3 (diff) | |
parent | 5be04ec2ceb1df77afbca4fcbf9e92a712612d6f (diff) | |
download | monitoring-plugins-9b4df9e50837cc837e113053ba12ee6967d5e6c2.tar.gz |
Merge pull request #2037 from RincewindsHat/update/gnulib-1.0
Sync with the latest Gnulib code (d4ec02b3cc) (gnulib v1.0)
Diffstat (limited to 'gl/langinfo.in.h')
-rw-r--r-- | gl/langinfo.in.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gl/langinfo.in.h b/gl/langinfo.in.h index c7555a6a..febbd25f 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-2023 Free Software Foundation, Inc. | 2 | Copyright (C) 2009-2024 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 |
@@ -34,6 +34,11 @@ | |||
34 | #ifndef _@GUARD_PREFIX@_LANGINFO_H | 34 | #ifndef _@GUARD_PREFIX@_LANGINFO_H |
35 | #define _@GUARD_PREFIX@_LANGINFO_H | 35 | #define _@GUARD_PREFIX@_LANGINFO_H |
36 | 36 | ||
37 | /* This file uses GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ | ||
38 | #if !_GL_CONFIG_H_INCLUDED | ||
39 | #error "Please include config.h first." | ||
40 | #endif | ||
41 | |||
37 | 42 | ||
38 | #if !@HAVE_LANGINFO_H@ | 43 | #if !@HAVE_LANGINFO_H@ |
39 | 44 | ||
@@ -208,7 +213,9 @@ _GL_FUNCDECL_SYS (nl_langinfo, char *, (nl_item item)); | |||
208 | # endif | 213 | # endif |
209 | _GL_CXXALIAS_SYS (nl_langinfo, char *, (nl_item item)); | 214 | _GL_CXXALIAS_SYS (nl_langinfo, char *, (nl_item item)); |
210 | # endif | 215 | # endif |
216 | # if __GLIBC__ >= 2 | ||
211 | _GL_CXXALIASWARN (nl_langinfo); | 217 | _GL_CXXALIASWARN (nl_langinfo); |
218 | # endif | ||
212 | #elif defined GNULIB_POSIXCHECK | 219 | #elif defined GNULIB_POSIXCHECK |
213 | # undef nl_langinfo | 220 | # undef nl_langinfo |
214 | # if HAVE_RAW_DECL_NL_LANGINFO | 221 | # if HAVE_RAW_DECL_NL_LANGINFO |