Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!cs.utexas.edu!uunet!nih-csl!elsie!ado From: ado@elsie.UUCP (Arthur David Olson) Newsgroups: comp.lang.c Subject: Re: __STDC__ defined as zero a problem Message-ID: <9114@elsie.UUCP> Date: 10 Jul 89 21:21:16 GMT References: <225800190@uxe.cso.uiuc.edu> <942@alzabo.UUCP> Organization: NIH-LEC, Bethesda, MD Lines: 12 In article <942@alzabo.UUCP>, tris@alzabo.UUCP (Tris Orendorff) writes: > I believe that people actually want to say: > #ifdef __STDC__ > and not > #if __STDC__ What people want to say is #if __STDC__ - 0 which will work if __STDC__ is undefined. It will also work on outre systems where __STDC__ is defined to be 0. -- Arthur David Olson ado@alw.nih.gov ADO is a trademark of Ampex.