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