From: ceriel Date: Tue, 12 Jul 1988 14:19:03 +0000 (+0000) Subject: made to compile on Xenix X-Git-Tag: release-5-5~3057 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=ccbf4f0cf6d28033b7d3011ba61d396096309a77;p=ack.git made to compile on Xenix --- diff --git a/mach/proto/ncg/subr.c b/mach/proto/ncg/subr.c index fd558b4a6..ca15509aa 100644 --- a/mach/proto/ncg/subr.c +++ b/mach/proto/ncg/subr.c @@ -411,8 +411,12 @@ int aside_length = -1 ; save_stack(tp) register token_p tp ; { int i ; + token_p tmp = &fakestack[stackheight - 1]; - aside_length = &fakestack[stackheight-1] -tp; + /*aside_length = &fakestack[stackheight-1] -tp; + This did not compile on Xenix V3.2: CODE GENERATION ERROR! + */ + aside_length = tmp - tp; assert(aside_length<=MAXSAVE); #ifndef NDEBUG if (aside_length!=0 && Debug>1)