svn commit: r264676 - head/include
Jilles Tjoelker
jilles at FreeBSD.org
Sat Apr 19 12:38:02 UTC 2014
Author: jilles
Date: Sat Apr 19 12:38:01 2014
New Revision: 264676
URL: http://svnweb.freebsd.org/changeset/base/264676
Log:
langinfo.h: Hide YESSTR and NOSTR in strict POSIX mode.
YESSTR and NOSTR are obsolete and are only in old SUS.
Modified:
head/include/langinfo.h
Modified: head/include/langinfo.h
==============================================================================
--- head/include/langinfo.h Sat Apr 19 06:32:51 2014 (r264675)
+++ head/include/langinfo.h Sat Apr 19 12:38:01 2014 (r264676)
@@ -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
More information about the svn-src-all
mailing list