mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Prefix COMPILER_IS_MSVC with SWIFT_
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user