about summary refs log tree commit diff
path: root/locale/langinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'locale/langinfo.h')
-rw-r--r--locale/langinfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/langinfo.h b/locale/langinfo.h
index 3db293bbda..6a94a8759b 100644
--- a/locale/langinfo.h
+++ b/locale/langinfo.h
@@ -484,11 +484,11 @@ enum
   __NOEXPR,			/* Regex matching ``no'' input.  */
 #define NOEXPR			__NOEXPR
   __YESSTR,			/* Output string for ``yes''.  */
-#ifdef __USE_GNU
+#if defined __USE_GNU || (defined __USE_XOPEN || !defined __USE_XOPEN2K)
 # define YESSTR			__YESSTR
 #endif
   __NOSTR,			/* Output string for ``no''.  */
-#ifdef __USE_GNU
+#if defined __USE_GNU || (defined __USE_XOPEN || !defined __USE_XOPEN2K)
 # define	NOSTR		__NOSTR
 #endif
   _NL_NUM_LC_MESSAGES,