summaryrefslogtreecommitdiffstats
path: root/include/langinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/langinfo.h')
-rw-r--r--include/langinfo.h2
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
OpenPOWER on IntegriCloud