]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Don't bother with CFM checks on non-CFM machines.
authorBen Harris <bjh21@bjh21.me.uk>
Wed, 1 Sep 1999 22:13:52 +0000 (22:13 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Wed, 1 Sep 1999 22:13:52 +0000 (22:13 +0000)
[originally from svn r210]

mac.c

diff --git a/mac.c b/mac.c
index 6ccb38391e091d2e28363444868f641735b6aa35..3a9fc85b3be64b8cca65cbb3bd49964493c078e1 100644 (file)
--- a/mac.c
+++ b/mac.c
@@ -1,4 +1,4 @@
-/* $Id: mac.c,v 1.1.2.26 1999/08/02 22:32:38 ben Exp $ */
+/* $Id: mac.c,v 1.1.2.27 1999/09/01 22:13:52 ben Exp $ */
 /*
  * Copyright (c) 1999 Ben Harris
  * All rights reserved.
@@ -121,9 +121,11 @@ static void mac_startup(void) {
            mac_gestalts.apprvers = 0x0100;
        else
            mac_gestalts.apprvers = 0;
+#if TARGET_RT_MAC_CFM
     /* Paranoia: Did we manage to pull in AppearanceLib? */
     if (&RegisterAppearanceClient == kUnresolvedCFragSymbolAddress)
        mac_gestalts.apprvers = 0;
+#endif
     /* Mac OS 8.5 Control Manager (proportional scrollbars)? */
     if (Gestalt(gestaltControlMgrAttr, &mac_gestalts.cntlattr) != noErr)
        mac_gestalts.cntlattr = 0;
@@ -134,7 +136,7 @@ static void mac_startup(void) {
     /* We've been tested with the Appearance Manager */
     if (mac_gestalts.apprvers != 0)
        RegisterAppearanceClient();
-    
+
     menuBar = GetNewMBar(128);
     if (menuBar == NULL)
        fatalbox("Unable to create menu bar.");