X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e9d7ad4dbf0cbbefb0404377506555cf0012014a..d9f9aa2d8fcb956444588b2c19ffe8d4a3f5d2bb:/src/mac/carbon/thread.cpp diff --git a/src/mac/carbon/thread.cpp b/src/mac/carbon/thread.cpp index 34b7fe57ea..a37865ee7a 100644 --- a/src/mac/carbon/thread.cpp +++ b/src/mac/carbon/thread.cpp @@ -801,9 +801,11 @@ bool wxThreadModule::OnInit() long response; bool hasThreadManager ; hasThreadManager = Gestalt( gestaltThreadMgrAttr, &response) == noErr && response & 1; -#if TARGET_RT_MAC_CFM +#if !TARGET_CARBON +#if GENERATINGCFM // verify presence of shared library hasThreadManager = hasThreadManager && ((Ptr)NewThread != (Ptr)kUnresolvedCFragSymbolAddress); +#endif #endif if ( !hasThreadManager ) {