summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith M Wesolowski <wesolows@foobazco.org>2014-08-05 16:42:46 +0000
committerKeith M Wesolowski <wesolows@foobazco.org>2014-08-05 16:42:46 +0000
commitd9eac2d7b237d0d50336de64bf58f195f971d33e (patch)
treed7ce7df67402e65f46b202217b0dee64e4d01f95
parent8879241c1af495bf5da07f24c2dcf3bb5e0fbcf3 (diff)
parentfed328a03f5c3d431fc290ca4e36398686dc484c (diff)
downloadillumos-joyent-d9eac2d7b237d0d50336de64bf58f195f971d33e.tar.gz
[illumos-gate merge]
commit fed328a03f5c3d431fc290ca4e36398686dc484c 5064 ctype.h C++ regression regarding ::isblank
-rw-r--r--usr/src/head/ctype.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/head/ctype.h b/usr/src/head/ctype.h
index 8f15d0404b..213bcb9582 100644
--- a/usr/src/head/ctype.h
+++ b/usr/src/head/ctype.h
@@ -54,7 +54,8 @@ using std::isupper;
using std::isxdigit;
using std::tolower;
using std::toupper;
-#if _cplusplus >= 201103L
+#if (__cplusplus >= 201103L) || defined(_STDC_C99) || defined(_XPG6) || \
+ !defined(_STRICT_SYMBOLS)
using std::isblank;
#endif
#endif