Skip to content

Commit b02a439

Browse files
authored
Merge pull request swiftlang#4594 from compnerd/uuid
CoreFoundation: adjust `uuid.h` inclusion
2 parents bfead15 + f9c3858 commit b02a439

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CoreFoundation/Base.subproj/CFUUID.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,12 @@ static CFUUIDRef __CFUUIDCreateWithBytesPrimitive(CFAllocatorRef allocator, CFUU
133133

134134
#if TARGET_OS_WIN32
135135
#include <Rpc.h>
136-
#else
136+
#endif
137+
137138
#if DEPLOYMENT_RUNTIME_SWIFT
138139
#include "uuid/uuid.h"
139140
#else
141+
#if !TARGET_OS_WIN32
140142
#include <uuid/uuid.h>
141143
#endif
142144
#endif

0 commit comments

Comments
 (0)