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:
@@ -14,12 +14,12 @@
|
||||
#define SWIFT_BASIC_COMPILER_H
|
||||
|
||||
#if defined(_MSC_VER) && !defined(__clang__)
|
||||
#define COMPILER_IS_MSVC 1
|
||||
#define SWIFT_COMPILER_IS_MSVC 1
|
||||
#else
|
||||
#define COMPILER_IS_MSVC 0
|
||||
#define SWIFT_COMPILER_IS_MSVC 0
|
||||
#endif
|
||||
|
||||
#if COMPILER_IS_MSVC
|
||||
#if SWIFT_COMPILER_IS_MSVC
|
||||
// Work around MSVC bug: attempting to reference a deleted function
|
||||
// https://connect.microsoft.com/VisualStudio/feedback/details/3116505
|
||||
#define SWIFT_DELETE_OPERATOR_DELETED \
|
||||
|
||||
Reference in New Issue
Block a user