X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a959b08869abdec7449d49e18cb069e81a3f83e6..f2616db56739e4962f683f59ac9e207756efe23c:/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 ) {