From e5366b1424d2341b114457190836ca875e9c26fb Mon Sep 17 00:00:00 2001 From: "timeless%mac.com" Date: Mon, 8 Jul 2002 07:26:41 +0000 Subject: [PATCH] Bug 125411 [NuBus] Mac installer crashes with a type 12 error (SleepQInstall) r=dmose sr=jst --- js/src/prmjtime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/prmjtime.c b/js/src/prmjtime.c index 8f0365ff2c4..b0e9a81abb6 100644 --- a/js/src/prmjtime.c +++ b/js/src/prmjtime.c @@ -66,7 +66,7 @@ #include #include #include -#ifndef TARGET_CARBON +#if !TARGET_CARBON #include #endif #endif @@ -158,7 +158,7 @@ static void MyReadLocation(MachineLocation * loc) ReadLocation(&storedLoc); /* install a sleep queue routine, so that when the machine wakes up, time can be recomputed. */ if (&SleepQInstall != (void*)kUnresolvedCFragSymbolAddress -#ifndef TARGET_CARBON +#if !TARGET_CARBON && NGetTrapAddress(0xA28A, OSTrap) != NGetTrapAddress(_Unimplemented, ToolTrap) #endif ) {