Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!cornell!rochester!udel!burdvax!psuvax1!gondor.psu.edu!flee From: flee@gondor.psu.edu (Felix Lee) Newsgroups: comp.sources.bugs Subject: Conforming to ANSI C (Re: v02i066: umoria) Message-ID: <3077@psuvax1.psu.edu> Date: Wed, 11-Nov-87 03:15:04 EST Article-I.D.: psuvax1.3077 Posted: Wed Nov 11 03:15:04 1987 Date-Received: Fri, 13-Nov-87 21:05:46 EST References: <722@unmvax.unm.edu> Sender: netnews@psuvax1.psu.edu Reply-To: flee@gondor.psu.edu (Felix Lee) Organization: The Roadside Picnic Lines: 16 Followup-To: In <722@unmvax.unm.edu>, mike@turing.unm.edu (Michael I. Bushnell) writes: >The config.h file has: > #define LIBDIR(xxx) "/foo/bar/lib/xxx" > #define FOO LIBDIR(foofile) >This is NON STANDARD. A simple fix. #if __STDC__ # define LIBDIR(xxx) "/foo/bar/lib/" #xxx #else # define LIBDIR(xxx) "/foo/bar/lib/xxx" #endif Anyone written the "Portable C Programming Guide" yet? -- Felix Lee flee@gondor.psu.edu {cbosgd,cmcl2}!psuvax1!gondor!flee