Xref: utzoo comp.os.os2:338 comp.lang.c:24291 comp.std.c:2236 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.os.os2,comp.lang.c,comp.std.c Subject: Re: MSC __STDC__ strange value Message-ID: <11746@smoke.BRL.MIL> Date: 5 Dec 89 21:42:39 GMT References: <223@bohra.cpg.oz> <841@megatek.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn) Followup-To: comp.os.os2 Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 12 In article <841@megatek.UUCP> hollen@eta.megatek.uucp (Dion Hollenbeck) writes: >By the way, > #define __STDC__ /* evaluates __STDC__ = 0 */ Nope, with this definition a subsequent #if __STDC__ is an illegal program construct. If __STDC__ had been entirely undefined (rather than defined as an empty sequence of pp-tokens), then it is required to evaluate to 0, although perhaps some older compilers might not understand that and flag the #if as illegal even in that case.