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:
@@ -152,7 +152,7 @@ public:
|
||||
}
|
||||
|
||||
// Disable "only for use within the debugger" warning.
|
||||
#if COMPILER_IS_MSVC
|
||||
#if SWIFT_COMPILER_IS_MSVC
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 4996)
|
||||
#endif
|
||||
@@ -177,7 +177,7 @@ public:
|
||||
llvm_unreachable("unexpected AnyFunctionRef representation");
|
||||
}
|
||||
};
|
||||
#if COMPILER_IS_MSVC
|
||||
#if SWIFT_COMPILER_IS_MSVC
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user