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