aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2014-04-19 12:38:01 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2014-04-19 12:38:01 +0000
commit160c0c65d71d4b9aaa987c78fd82947b09727c6b (patch)
tree0d17573edee04601b4b65e9ccb61465af27b2f05 /include
parent734cd48ef3b33951fba345290a40d8b9dcea3eb0 (diff)
downloadsrc-160c0c65d71d4b9aaa987c78fd82947b09727c6b.tar.gz
src-160c0c65d71d4b9aaa987c78fd82947b09727c6b.zip
langinfo.h: Hide YESSTR and NOSTR in strict POSIX mode.
YESSTR and NOSTR are obsolete and are only in old SUS.
Notes
Notes: svn path=/head/; revision=264676
Diffstat (limited to 'include')
-rw-r--r--include/langinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/langinfo.h b/include/langinfo.h
index 8c88efccfa29..46e38c724715 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