File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -194,19 +194,11 @@ typedef struct __CFRuntimeBase {
194194 // This matches the isa and retain count storage in Swift
195195 uintptr_t _cfisa ;
196196 uintptr_t _swift_rc ;
197- // This is for CF's use, and must match _NSCFType layout
198- #if defined(__LP64__ ) || defined(__LLP64__ )
197+ // This is for CF's use, and must match __NSCFType/_CFInfo layout
199198 _Atomic (uint64_t ) _cfinfoa ;
200- #else
201- _Atomic (uint32_t ) _cfinfoa ;
202- #endif
203199} CFRuntimeBase ;
204200
205- #if defined(__LP64__ ) || defined(__LLP64__ )
206201#define INIT_CFRUNTIME_BASE (...) {0, _CF_CONSTANT_OBJECT_STRONG_RC, 0x0000000000000080ULL}
207- #else
208- #define INIT_CFRUNTIME_BASE (...) {0, _CF_CONSTANT_OBJECT_STRONG_RC, 0x00000080UL}
209- #endif
210202
211203#else
212204
Original file line number Diff line number Diff line change @@ -165,11 +165,7 @@ struct __CFConstStr {
165165 struct {
166166 uintptr_t _cfisa ;
167167 uintptr_t _swift_rc ;
168- #if defined(__LP64__ ) || defined(__LLP64__ )
169168 uint64_t _cfinfoa ;
170- #else // 32-bit:
171- uint32_t _cfinfoa ;
172- #endif // defined(__LP64__) || defined(__LLP64__)
173169 } _base ;
174170 uint8_t * _ptr ;
175171#if defined(__LP64__ ) && defined(__BIG_ENDIAN__ )
You can’t perform that action at this time.
0 commit comments