mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-26 07:12:10 -05:00
We now only link weakly with AppearanceLib, which should let us run on PowerPCs
without the Appearance Manager. Not that I've tested this, of course. [originally from svn r140]
This commit is contained in:
parent
ff6025bc79
commit
3b65b371d0
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile.mpw,v 1.1.2.6 1999/03/28 17:34:36 ben Exp $
|
||||
# $Id: Makefile.mpw,v 1.1.2.7 1999/03/29 23:55:06 ben Exp $
|
||||
# This is the Makefile for building PuTTY for the Mac OS.
|
||||
# Users of non-Mac systems will see some pretty strange characters around.
|
||||
|
||||
@ -58,7 +58,7 @@ Libs
|
||||
Libs¥PPC = "{SharedLibraries}InterfaceLib" ¶
|
||||
"{SharedLibraries}StdCLib" ¶
|
||||
"{SharedLibraries}MathLib" ¶
|
||||
"{SharedLibraries}AppearanceLib" ¶
|
||||
"{SharedLibraries}AppearanceLib" -weaklib AppearanceLib ¶
|
||||
"{PPCLibraries}StdCRuntime.o" ¶
|
||||
"{PPCLibraries}PPCCRuntime.o"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
$Id: README.mac,v 1.1.2.1 1999/03/29 19:51:40 ben Exp $
|
||||
$Id: README.mac,v 1.1.2.2 1999/03/29 23:55:06 ben Exp $
|
||||
|
||||
Information about PuTTY for the Mac OS
|
||||
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||
@ -6,7 +6,7 @@ Information about PuTTY for the Mac OS
|
||||
Known bugs:
|
||||
|
||||
* PowerPC and fat versions fail to start on systems without AppearanceLib (ie
|
||||
most System 7 ones). The 68k version works fine.
|
||||
most System 7 ones). The 68k version works fine. [MAYBE FIXED]
|
||||
* If the screen scrolls more than once between calls to WaitNextEvent, Bad
|
||||
Things can happen owing to a bug in do_scroll. This can be fixed when I
|
||||
have an easy way to test it.
|
||||
|
5
mac.c
5
mac.c
@ -1,4 +1,4 @@
|
||||
/* $Id: mac.c,v 1.1.2.20 1999/03/29 19:50:22 ben Exp $ */
|
||||
/* $Id: mac.c,v 1.1.2.21 1999/03/29 23:55:06 ben Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1999 Ben Harris
|
||||
* All rights reserved.
|
||||
@ -117,6 +117,9 @@ static void mac_startup(void) {
|
||||
mac_gestalts.apprvers = 0x0100;
|
||||
else
|
||||
mac_gestalts.apprvers = 0;
|
||||
/* Paranoia: Did we manage to pull in AppearanceLib? */
|
||||
if (&RegisterAppearanceClient == NULL)
|
||||
mac_gestalts.apprvers = 0;
|
||||
/* Mac OS 8.5 Control Manager (proportional scrollbars)? */
|
||||
if (Gestalt(gestaltControlMgrAttr, &mac_gestalts.cntlattr) != noErr)
|
||||
mac_gestalts.cntlattr = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user