File tree 2 files changed +1
-13
lines changed 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -194,19 +194,11 @@ typedef struct __CFRuntimeBase {
194
194
// This matches the isa and retain count storage in Swift
195
195
uintptr_t _cfisa ;
196
196
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
199
198
_Atomic (uint64_t ) _cfinfoa ;
200
- #else
201
- _Atomic (uint32_t ) _cfinfoa ;
202
- #endif
203
199
} CFRuntimeBase ;
204
200
205
- #if defined(__LP64__ ) || defined(__LLP64__ )
206
201
#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
210
202
211
203
#else
212
204
Original file line number Diff line number Diff line change @@ -165,11 +165,7 @@ struct __CFConstStr {
165
165
struct {
166
166
uintptr_t _cfisa ;
167
167
uintptr_t _swift_rc ;
168
- #if defined(__LP64__ ) || defined(__LLP64__ )
169
168
uint64_t _cfinfoa ;
170
- #else // 32-bit:
171
- uint32_t _cfinfoa ;
172
- #endif // defined(__LP64__) || defined(__LLP64__)
173
169
} _base ;
174
170
uint8_t * _ptr ;
175
171
#if defined(__LP64__ ) && defined(__BIG_ENDIAN__ )
You can’t perform that action at this time.
0 commit comments