Skip to content

Commit fef9930

Browse files
committed
typo
1 parent fddda82 commit fef9930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CoreFoundation/CFPlatform.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ static void __CFTSDFinalize(void *arg) {
931931

932932
// FreeBSD libthr emits debug message to stderr if there are leftover nonnull TSD after PTHREAD_DESTRUCTOR_ITERATIONS
933933
// On this platform, the destructor will never be called again, therefore it is unneccessary to set the TSD to CF_TSD_BAD_PTR
934-
#if !defined(FreeBSD)
934+
#if !defined(__FreeBSD__)
935935
// Now if the destructor is called again we will take the shortcut at the beginning of this function.
936936
__CFTSDSetSpecific(CF_TSD_BAD_PTR);
937937
#endif

0 commit comments

Comments
 (0)