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

@@ -340,7 +340,7 @@ public:
template <class ValueType> class Map {
// Hack: MSVC isn't able to resolve the InlineKeyCapacity part of the
// template of PrefixMap, so we have to split it up and pass it manually.
#if COMPILER_IS_MSVC
#if SWIFT_COMPILER_IS_MSVC
static const size_t Size = (sizeof(void*) - 1) / sizeof(Chunk);
static const size_t ActualSize = max<size_t>(Size, 1);