]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/thread.cpp
added missing include file and conditional compilation
[wxWidgets.git] / src / mac / carbon / thread.cpp
index 86e17b88c0a99051ea98b83941a058f7d2c382a5..a37865ee7a5768bb344ed0d63dc07c9fa887c498 100644 (file)
@@ -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 )
        {