]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/thread.cpp
applied patch for compilation with gcc 3.0
[wxWidgets.git] / src / mac / 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 )
        {