Prefix COMPILER_IS_MSVC with SWIFT_

This commit is contained in:
Hugh Bellamy
2017-01-16 22:09:53 +00:00
parent 4dfa6389b0
commit 201ad5d594
8 changed files with 16 additions and 16 deletions

View File

@@ -843,7 +843,7 @@ namespace {
template <typename T>
struct OperatorLookup {
// TODO: this assertion fails in MSVC, but not clang-cl.
#if !COMPILER_IS_MSVC
#if !SWIFT_COMPILER_IS_MSVC
static_assert(static_cast<T*>(nullptr), "Only usable with operators");
#endif
};