Connecting Tech Pros Worldwide Help | Site Map

Re: C ONE LINER

  #1  
Old November 20th, 2008, 12:55 PM
Dik T. Winter
Guest
 
Posts: n/a
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Python one-liner?? srinivasan srinivas answers 3 August 23rd, 2008 05:15 AM
bitwise increment one liner Mantorok Redgormor answers 8 November 14th, 2005 12:30 AM
Perl-Python-a-Day: one-liner loop Functional Style Xah Lee answers 0 October 20th, 2005 11:55 AM
One liner for extracting a number D. Alvarado answers 7 July 17th, 2005 08:55 AM
One liner for finding a file D. Alvarado answers 1 July 17th, 2005 08:50 AM