Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!ames!lll-tis!ptsfa!ihnp4!cuae2!killer!jockc From: jockc@killer.UUCP (Jock Cooper) Newsgroups: rec.games.hack,comp.sys.mac Subject: Re: MacHack (1.0.3) Message-ID: <1361@killer.UUCP> Date: Wed, 19-Aug-87 11:27:25 EDT Article-I.D.: killer.1361 Posted: Wed Aug 19 11:27:25 1987 Date-Received: Sat, 22-Aug-87 10:34:41 EDT References: <895@aurora.UUCP> <110@osupyr.UUCP> Organization: The Unix(tm) Connection, Dallas, Texas Lines: 35 Xref: mnetor rec.games.hack:1241 comp.sys.mac:5769 In article <110@osupyr.UUCP>, czei@osupyr.UUCP (Michael S Czeiszperger) writes: > and tried making a Lightspeed C project out of the mess. It keeps choking > on a bit of code that looks like > > #if define(KOPS) && define(I forget) I encountered this problem trying to compile w/ Lattice C 3.2, which doesn't support the new ANSI " #if defined(ID) " pp command. I went through and changed all (about 5 or 6 I think) the occurances of : #if defined(FOO) && defined(BAR) . . code, etc. . #endif to: #ifdef FOO # ifdef BAR . . code, etc. . # endif #endif Later I went back to the original method and compiled with Turbo C. -------------------+ Jock | | ihnp4!killer!jockc |