summaryrefslogtreecommitdiff
path: root/locale/langinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'locale/langinfo.h')
-rw-r--r--locale/langinfo.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/locale/langinfo.h b/locale/langinfo.h
index 935a3818bf..cfcf7c75fa 100644
--- a/locale/langinfo.h
+++ b/locale/langinfo.h
@@ -333,10 +333,12 @@ enum
#define YESEXPR YESEXPR
NOEXPR, /* Regex matching ``no'' input. */
#define NOEXPR NOEXPR
- YESSTR, /* Output string for ``yes''. */
-#define YESSTR YESSTR
- NOSTR, /* Output string for ``no''. */
-#define NOSTR NOSTR
+ __YESSTR, /* Output string for ``yes''. */
+ __NOSTR, /* Output string for ``no''. */
+#ifndef __USE_XOPEN2K
+# define YESSTR __YESSTR
+# define NOSTR __NOSTR
+#endif
_NL_NUM_LC_MESSAGES,
/* This marks the highest value used. */