draft ANSI standard: major, quiet, unnoticed change
Ron Natalie <ron>
ron at brl-sem.ARPA
Wed Dec 3 15:35:08 AEST 1986
In article <1379 at hoptoad.uucp>, gnu at hoptoad.uucp (John Gilmore) writes:
> #pdefine sun
>
> would cause #if sun or #if defined(sun) or #ifdef sun to be true, but
> would not replace occurrances of "sun" in program text.
Of course, no one said it had to be a macro definition. You could
just say
int sun;
and the #if defined(sun) would also work. Of course, it takes up
a few bytes. Too bad the compiler won't allow me to declare voids.
-Ron
More information about the Comp.lang.c
mailing list