diff options
author | jilles <jilles@FreeBSD.org> | 2014-04-19 12:38:01 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2014-04-19 12:38:01 +0000 |
commit | 754adcc08a3ed6ae332dc040469e290a1783411d (patch) | |
tree | 0d17573edee04601b4b65e9ccb61465af27b2f05 | |
parent | d463e40e3700d66025df34d85a22137fb69dfe32 (diff) | |
download | FreeBSD-src-754adcc08a3ed6ae332dc040469e290a1783411d.zip FreeBSD-src-754adcc08a3ed6ae332dc040469e290a1783411d.tar.gz |
langinfo.h: Hide YESSTR and NOSTR in strict POSIX mode.
YESSTR and NOSTR are obsolete and are only in old SUS.
-rw-r--r-- | include/langinfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/langinfo.h b/include/langinfo.h index 8c88efc..46e38c7 100644 --- a/include/langinfo.h +++ b/include/langinfo.h @@ -103,7 +103,7 @@ typedef __nl_item nl_item; #define YESEXPR 52 /* affirmative response expression */ #define NOEXPR 53 /* negative response expression */ -#if __BSD_VISIBLE || __XSI_VISIBLE <= 500 +#if __BSD_VISIBLE || (__XSI_VISIBLE && __XSI_VISIBLE <= 500) #define YESSTR 54 /* affirmative response for yes/no queries */ #define NOSTR 55 /* negative response for yes/no queries */ #endif |