about summary refs log tree commit diff
path: root/locale/langinfo.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-26 09:25:28 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-26 09:25:28 +0000
commitd0376ea79948058e20255d6fb099dd946bce3bdf (patch)
tree6360360670b5103f684ca0465f680b821f892800 /locale/langinfo.h
parent3e154a6f9373a15924ffe226df044194b633e3ac (diff)
downloadglibc-d0376ea79948058e20255d6fb099dd946bce3bdf.tar.gz
glibc-d0376ea79948058e20255d6fb099dd946bce3bdf.tar.xz
glibc-d0376ea79948058e20255d6fb099dd946bce3bdf.zip
Update.
	* locale/langinfo.h: Correct logic in #ifs when defining YESSTR
	and NOSTR.
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 8b58fabedd..c2e312fabf 100644
--- a/locale/langinfo.h
+++ b/locale/langinfo.h
@@ -488,11 +488,11 @@ enum
   __NOEXPR,			/* Regex matching ``no'' input.  */
 #define NOEXPR			__NOEXPR
   __YESSTR,			/* Output string for ``yes''.  */
-#if defined __USE_GNU || (defined __USE_XOPEN || !defined __USE_XOPEN2K)
+#if defined __USE_GNU || (defined __USE_XOPEN && !defined __USE_XOPEN2K)
 # define YESSTR			__YESSTR
 #endif
   __NOSTR,			/* Output string for ``no''.  */
-#if defined __USE_GNU || (defined __USE_XOPEN || !defined __USE_XOPEN2K)
+#if defined __USE_GNU || (defined __USE_XOPEN && !defined __USE_XOPEN2K)
 # define NOSTR			__NOSTR
 #endif
   _NL_NUM_LC_MESSAGES,