diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-05 10:08:11 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-05 10:08:11 +0900 |
commit | 1478f6ab011981e9a986c0c30da680635d3e77bf (patch) | |
tree | 09df64443790232e7104322e4ec8d0d4ef32d308 /lib/locale.in.h | |
parent | 1d8b652baba3df2da0eb42560205cab2ccb360e9 (diff) | |
download | wget-1478f6ab011981e9a986c0c30da680635d3e77bf.tar.gz wget-1478f6ab011981e9a986c0c30da680635d3e77bf.tar.bz2 wget-1478f6ab011981e9a986c0c30da680635d3e77bf.zip |
Imported Upstream version 1.15upstream/1.15
Diffstat (limited to 'lib/locale.in.h')
-rw-r--r-- | lib/locale.in.h | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/lib/locale.in.h b/lib/locale.in.h index 4d3c543..264161a 100644 --- a/lib/locale.in.h +++ b/lib/locale.in.h @@ -1,5 +1,5 @@ /* A POSIX <locale.h>. - Copyright (C) 2007-2012 Free Software Foundation, Inc. + Copyright (C) 2007-2013 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 @@ -14,16 +14,30 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _@GUARD_PREFIX@_LOCALE_H - #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif @PRAGMA_COLUMNS@ +#ifdef _GL_ALREADY_INCLUDING_LOCALE_H + +/* Special invocation conventions to handle Solaris header files + (through Solaris 10) when combined with gettext's libintl.h. */ + +#@INCLUDE_NEXT@ @NEXT_LOCALE_H@ + +#else +/* Normal invocation convention. */ + +#ifndef _@GUARD_PREFIX@_LOCALE_H + +#define _GL_ALREADY_INCLUDING_LOCALE_H + /* The include_next requires a split double-inclusion guard. */ #@INCLUDE_NEXT@ @NEXT_LOCALE_H@ +#undef _GL_ALREADY_INCLUDING_LOCALE_H + #ifndef _@GUARD_PREFIX@_LOCALE_H #define _@GUARD_PREFIX@_LOCALE_H @@ -198,4 +212,5 @@ _GL_WARN_ON_USE (duplocale, "duplocale is buggy on some glibc systems - " #endif #endif /* _@GUARD_PREFIX@_LOCALE_H */ +#endif /* ! _GL_ALREADY_INCLUDING_LOCALE_H */ #endif /* _@GUARD_PREFIX@_LOCALE_H */ |