Since we now have a value for __cplusplus for c++14, teach libc++ about it
authorMarshall Clow <mclow.lists@gmail.com>
Fri, 6 Jun 2014 22:31:09 +0000 (22:31 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Fri, 6 Jun 2014 22:31:09 +0000 (22:31 +0000)
llvm-svn: 210380

libcxx/include/__config

index 609b587..c628524 100644 (file)
@@ -623,8 +623,10 @@ template <unsigned> struct __static_assert_check {};
 #ifndef _LIBCPP_STD_VER
 #  if  __cplusplus <= 201103L
 #    define _LIBCPP_STD_VER 11
+#  elif __cplusplus <= 201402L
+#    define _LIBCPP_STD_VER 14
 #  else
-#    define _LIBCPP_STD_VER 13  // current year, or date of c++14 ratification
+#    define _LIBCPP_STD_VER 15  // current year, or date of c++17 ratification
 #  endif
 #endif  // _LIBCPP_STD_VER