Skip to content

Commit 25543fc

Browse files
3405691582parkera
authored andcommitted
[CF] Fix typo in TARGET_RT_64_BIT ifdef. (#2588)
__CFGetFullRetainCount contains an ifdef with symbol name TARGET_RT64_BIT. This is likely a typo since otherwise, __CFDoExternRefOperation is referenced, but is guarded by an ifdef with name TARGET_RT_64_BIT instead, which then manifests as a missing symbol. Other calls to __CFDoExternRefOperation are guarded by the same symbol.
1 parent 3a50230 commit 25543fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreFoundation/Base.subproj/CFRuntime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ static CFLock_t __CFRuntimeExternRefCountTableLock = CFLockInit;
787787
#else
788788
static uint64_t __CFGetFullRetainCount(CFTypeRef cf) {
789789
if (NULL == cf) { CRSetCrashLogMessage("*** __CFGetFullRetainCount() called with NULL ***"); HALT; }
790-
#if TARGET_RT64_BIT
790+
#if TARGET_RT_64_BIT
791791
__CFInfoType info = atomic_load(&(((CFRuntimeBase *)cf)->_cfinfoa));
792792
uint32_t rc = __CFHighRCFromInfo(info);
793793
if (0 == rc) {

0 commit comments

Comments
 (0)