Change how _LIBCPP_HAS_NO_ADVANCED_SFINAE gets set.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@136596 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant 2011-07-31 17:10:44 +00:00
parent 199d0aec1b
commit 8775816ba3

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