Connecting Tech Pros Worldwide Help | Site Map

Re: C ONE LINER

Dik T. Winter
Guest
 
Posts: n/a
#1: Nov 20 '08
In article <86bpwbqa8e.fsf@vulcan.lanNate Eldredge <nate@vulcan.lanwrites:
....
Quote:
Regarding whether "unix" would have been a macro, I had a look at the
4.3BSD sources, which would have been current in 1987 when that entry
was written. I can't find any place where a "unix" macro gets
automatically predefined, but it's possible I'm missing something.
There are "#ifdef unix" in a number of places. The Makefile for
compiling cpp itself contains -Dunix=1, but I didn't find that anywhere
else.
I think that predefines that macro for sources compiled with that cpp.
--
dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland, +31205924131
home: bovenover 215, 1025 jn amsterdam, nederland; http://www.cwi.nl/~dik/
Closed Thread