Only check if constexpr and noexcept are defined with Visual Studio < 2015
This commit is contained in:
parent
dda75d5636
commit
fd5177dfe6
@ -12,7 +12,7 @@
|
||||
|
||||
#include <exception>
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER <= 1900) && !defined(noexcept)
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1900) && !defined(noexcept)
|
||||
#define noexcept
|
||||
#endif
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
#include "clang/AST/DeclVisitor.h"
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER <= 1900) && !defined(constexpr)
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1900) && !defined(constexpr)
|
||||
#define constexpr const
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user