about summary refs log tree commit diff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/langinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/langinfo.h b/locale/langinfo.h
index cfcf7c75fa..4de5dbecbe 100644
--- a/locale/langinfo.h
+++ b/locale/langinfo.h
@@ -335,7 +335,7 @@ enum
 #define NOEXPR			NOEXPR
   __YESSTR,			/* Output string for ``yes''.  */
   __NOSTR,			/* Output string for ``no''.  */
-#ifndef __USE_XOPEN2K
+#if !defined __USE_XOPEN2K || defined __USE_GNU
 # define YESSTR			__YESSTR
 # define NOSTR			__NOSTR
 #endif