langinfo.h: Hide YESSTR and NOSTR in strict POSIX mode.

YESSTR and NOSTR are obsolete and are only in old SUS.
This commit is contained in:
Jilles Tjoelker 2014-04-19 12:38:01 +00:00
parent 734cd48ef3
commit 160c0c65d7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264676

View file

@ -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