Change how _LIBCPP_HAS_NO_ADVANCED_SFINAE gets set.

llvm-svn: 136596
This commit is contained in:
Howard Hinnant 2011-07-31 17:10:44 +00:00
parent f622b58c83
commit 2425d53cd8
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ typedef __char32_t char32_t;
#define _LIBCPP_HAS_NO_AUTO_TYPE
#endif
#if __clang_major__ < 3
#if !(__has_feature(cxx_access_control_sfinae)) || !__has_feature(cxx_trailing_return)
#define _LIBCPP_HAS_NO_ADVANCED_SFINAE
#endif