Skip to content

Commit 1b52386

Browse files
authored
Update CFRuntime.h
1 parent 150266c commit 1b52386

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CoreFoundation/Base.subproj/CFRuntime.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,14 +195,14 @@ typedef struct __CFRuntimeBase {
195195
uintptr_t _cfisa;
196196
uintptr_t _swift_rc;
197197
// This is for CF's use, and must match _NSCFType layout
198-
#if __LP64__
198+
#if defined(__LP64__) || defined(__LLP64__)
199199
_Atomic(uint64_t) _cfinfoa;
200200
#else
201201
_Atomic(uint32_t) _cfinfoa;
202202
#endif
203203
} CFRuntimeBase;
204204

205-
#if __LP64__
205+
#if defined(__LP64__) || defined(__LLP64__)
206206
#define INIT_CFRUNTIME_BASE(...) {0, _CF_CONSTANT_OBJECT_STRONG_RC, 0x0000000000000080ULL}
207207
#else
208208
#define INIT_CFRUNTIME_BASE(...) {0, _CF_CONSTANT_OBJECT_STRONG_RC, 0x00000080UL}

0 commit comments

Comments
 (0)