From f2892707df213b734724288fabbf412ee1f05fe4 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Wed, 1 Sep 1999 22:13:52 +0000 Subject: [PATCH] Don't bother with CFM checks on non-CFM machines. [originally from svn r210] --- mac.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mac.c b/mac.c index 6ccb3839..3a9fc85b 100644 --- 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.");