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

@@ -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 \