summaryrefslogtreecommitdiff
path: root/lib/locale.in.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-10-02 00:19:59 +0200
committerBruno Haible <bruno@clisp.org>2007-10-02 00:19:59 +0200
commitc28071d48f42bbe8df82cc372d3b89bb25c27721 (patch)
tree43d92ccd4cea44ecda295d2e9d680c33eadf251f /lib/locale.in.h
parent26cabdbcaf19601c486800e3109ddbfac8c93a41 (diff)
downloadgnulib-c28071d48f42bbe8df82cc372d3b89bb25c27721.tar.gz
Rename locale_.h to locale.in.h.
Diffstat (limited to 'lib/locale.in.h')
-rw-r--r--lib/locale.in.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/locale.in.h b/lib/locale.in.h
new file mode 100644
index 0000000000..0b4c578c22
--- /dev/null
+++ b/lib/locale.in.h
@@ -0,0 +1,33 @@
+/* A POSIX <locale.h>.
+ Copyright (C) 2007 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 2, or (at your option)
+ any later version.
+
+ This program 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.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+
+#ifndef _GL_LOCALE_H
+
+/* The include_next requires a split double-inclusion guard. */
+#@INCLUDE_NEXT@ @NEXT_LOCALE_H@
+
+#ifndef _GL_LOCALE_H
+#define _GL_LOCALE_H
+
+/* The LC_MESSAGES locale category is specified in POSIX, but not in ISO C.
+ On systems that don't define it, use the same value as GNU libintl. */
+#if !defined LC_MESSAGES
+# define LC_MESSAGES 1729
+#endif
+
+#endif /* _GL_LOCALE_H */
+#endif /* _GL_LOCALE_H */