X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a959b08869abdec7449d49e18cb069e81a3f83e6..2fb4d7b86e82851bafd4620418e0e404fc801f1c:/src/mac/carbon/thread.cpp?ds=inline

diff --git a/src/mac/carbon/thread.cpp b/src/mac/carbon/thread.cpp
index 86e17b88c0..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 GENERATINGPOWERPC || GENERATINGCFM
+#if !TARGET_CARBON
+#if GENERATINGCFM
 	// verify presence of shared library
 	hasThreadManager = hasThreadManager && ((Ptr)NewThread != (Ptr)kUnresolvedCFragSymbolAddress);
+#endif
 #endif
 	if ( !hasThreadManager )
 	{