summaryrefslogtreecommitdiffstats
path: root/gl/langinfo.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/langinfo.in.h')
-rw-r--r--gl/langinfo.in.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/gl/langinfo.in.h b/gl/langinfo.in.h
index c7555a6..febbd25 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