From: Akim Demaille <[EMAIL PROTECTED]>
   Date: 15 Mar 2000 09:44:55 +0100

   Akim> sys/stat.h:  Portable or not?

   Paul> I think it's portable to all targets of interest to GNU applications.

   OK, thanks.  Shall we include it in the set of default includes?

There is a bit of a slippery slope here.  If one includes <sys/stat.h>,
why not <errno.h> as well?  Or <limits.h> (protected by HAVE_LIMITS_H)?
I'm not sure what rule is being used for deciding what file is included
in the default list.

   is there any reason not to use elif?  Lemme bet, not KnR?

Some C compilers lack #elif.  I don't recall which ones offhand.  Here
are some relevant ChangeLog entries from GCC.

Tue May 25 23:03:11 1993  Per Bothner  ([EMAIL PROTECTED])

        * config.guess:  Fix typo.  Avoid #elif (not in K&R 1).

Mon Nov 15 13:26:22 1993  Per Bothner  ([EMAIL PROTECTED])

        * floatconv.c:  Avoid using #elif, which some C compilers lack.

Reply via email to