Path: utzoo!attcan!uunet!lll-winken!lll-ncis!lll-lcc!ames!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.std.c Subject: Re: __STDC__ and non-conforming ANSI C compilers Message-ID: <9370@smoke.BRL.MIL> Date: 14 Jan 89 12:46:34 GMT References: <898@ubu.warwick.UUCP> <179@smsdpg.uu.net> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 11 In article <179@smsdpg.uu.net> seg@smsdpg.uu.net (Scott Garfinkle) writes: >You just can't say "#if __STDC_", you have to use #ifdef >(or "#if defined()"). You got that exactly backward. >In SVR4 cc, it *always* defines __STDC__, but sets it to 0 if you tell it you >want "old-style C." That's the same problem as was reported for MicroSoft. SVR4 hasn't been released yet; perhaps they will fix this before release.