Article View: comp.std.c
Article #6081Re: Mark Williams C
From: T. William Wells
Date: Sat, 03 Jun 1989 18:10
Date: Sat, 03 Jun 1989 18:10
27 lines
1473 bytes
1473 bytes
In article <13522@haddock.ima.isc.com> karl@haddock.ima.isc.com (Karl Heuer) writes:
: In article <1000@twwells.uucp> bill@twwells.UUCP (T. William Wells) writes:
: >[You could, if necessary,] add this to the top of your code:
: > #ifndef __STDC__
: > #define __STDC__ 0
: > #endif
:
: I think that, instead, I'll add the equivalent of
: #if defined(__STDC__) && __STDC__ <= 0
: #undef __STDC__
: #endif
: until someone decides just what __STDC__==0 is supposed to mean.
The problem with that is that there are still an appreciable number
of compilers that don't do defined(). Of course it could be done as:
#ifdef __STDC__
#if __STDC__ <= 0 /* Or maybe even __STDC__ != 1 ? */
#undef __STDC__
#endif
#endif
(But if you want portability to compilers without #if, you are
*really* screwed!)
---
Bill { uunet | novavax } !twwells!bill
Technical Details
Message-ID:
<1011@twwells.uucp>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!novavax!twwells!billReferences:
<24094@agate.BERKELEY.EDU> <431fba10.14a1f@gtephx.UUCP> <8137@boring.cwi.nl> <8530@chinet.chi.il.us> <13475@haddock.ima.isc.com> <1000@twwells.uucp> <13522@haddock.ima.isc.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!novavax!twwells!bill From: bill@twwells.uucp (T. William Wells) Newsgroups: comp.std.c,comp.sys.atari.st Subject: Re: Mark Williams C Message-ID: <1011@twwells.uucp> Date: 3 Jun 89 18:10:06 GMT References: <24094@agate.BERKELEY.EDU> <431fba10.14a1f@gtephx.UUCP> <8137@boring.cwi.nl> <8530@chinet.chi.il.us> <13475@haddock.ima.isc.com> <1000@twwells.uucp> <13522@haddock.ima.isc.com> Reply-To: bill@twwells.UUCP (T. William Wells) Organization: None, Ft. Lauderdale Lines: 27