C Style [check cpp symbol to decide file inclusion]

Peter da Silva peter at ficc.uu.net
Mon Jan 16 06:43:47 AEST 1989


In article <293 at gsg.UUCP>, lew at gsg.UUCP (Paul Lew) writes:
> Sometimes ago when we were porting X11R2 to MSDOS environment, we found out
> that it took a LONG time to compile every file.  One reason was...
> ... many include files will be read and
> then ignored for every cc.

Which is why the Amiga include files explicitly put that #ifdef before each
nested include that everyone has been questioning.
-- 
Peter da Silva, Xenix Support, Ferranti International Controls Corporation.
Work: uunet.uu.net!ficc!peter, peter at ficc.uu.net, +1 713 274 5180.   `-_-'
Home: bigtex!texbell!sugar!peter, peter at sugar.uu.net.                 'U`
Opinions may not represent the policies of FICC or the Xenix Support group.



More information about the Comp.lang.c mailing list