mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
Support/Compiler.h: MSC1600, aka VS2010, is not C++11-ready.
LLVM_HAS_CXX11_TYPETRAITS -- std::is_constructible LLVM_HAS_CXX11_STDLIB -- std::unique_ptr git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172997 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -52,7 +52,7 @@
|
|||||||
/// * is_constructible
|
/// * is_constructible
|
||||||
/// * etc...
|
/// * etc...
|
||||||
#if defined(__GXX_EXPERIMENTAL_CXX0X__) \
|
#if defined(__GXX_EXPERIMENTAL_CXX0X__) \
|
||||||
|| (defined(_MSC_VER) && _MSC_VER >= 1600)
|
|| (defined(_MSC_VER) && _MSC_VER >= 1700)
|
||||||
#define LLVM_HAS_CXX11_TYPETRAITS 1
|
#define LLVM_HAS_CXX11_TYPETRAITS 1
|
||||||
#else
|
#else
|
||||||
#define LLVM_HAS_CXX11_TYPETRAITS 0
|
#define LLVM_HAS_CXX11_TYPETRAITS 0
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
///
|
///
|
||||||
/// Implies LLVM_HAS_RVALUE_REFERENCES, LLVM_HAS_CXX11_TYPETRAITS
|
/// Implies LLVM_HAS_RVALUE_REFERENCES, LLVM_HAS_CXX11_TYPETRAITS
|
||||||
#if defined(__GXX_EXPERIMENTAL_CXX0X__) \
|
#if defined(__GXX_EXPERIMENTAL_CXX0X__) \
|
||||||
|| (defined(_MSC_VER) && _MSC_VER >= 1600)
|
|| (defined(_MSC_VER) && _MSC_VER >= 1700)
|
||||||
#define LLVM_HAS_CXX11_STDLIB 1
|
#define LLVM_HAS_CXX11_STDLIB 1
|
||||||
#else
|
#else
|
||||||
#define LLVM_HAS_CXX11_STDLIB 0
|
#define LLVM_HAS_CXX11_STDLIB 0
|
||||||
|
Reference in New Issue
Block a user