]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/thread.cpp
drawing methods cleanup
[wxWidgets.git] / src / mac / carbon / thread.cpp
index 34b7fe57ead7aaf95669ba7c8310b2fc1ab584f6..a37865ee7a5768bb344ed0d63dc07c9fa887c498 100644 (file)
@@ -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 )
        {