This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: system.h
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: system.h
- From: John Carr <jfc at mit dot edu>
- Date: Mon, 16 Feb 1998 15:46:21 EST
- Cc: egcs at cygnus dot com
> > Here is an example: on x86 SVR4 systems <sys/stat.h> defines several
> > static functions.
>
> does it potentially increase the size of cc1 by 0.001%, 1%, 5%?
About 1-2% in this case.
> Maybe a good compromise is to split it into two files,
> system.h and system2.h.
That's better than testing a macro. I suggest different calling the
files ansi.h and system.h (corresponding, more or less, to ANSI and
POSIX interfaces).