]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/thread.cpp
don't use wxTheXXXList in wxXXX ctor/dtor, only objects explicitly created
[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;
        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);
        // verify presence of shared library
        hasThreadManager = hasThreadManager && ((Ptr)NewThread != (Ptr)kUnresolvedCFragSymbolAddress);
+#endif
 #endif
        if ( !hasThreadManager )
        {
 #endif
        if ( !hasThreadManager )
        {