[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bison-20001221
From: |
Hans Aberg |
Subject: |
Re: bison-20001221 |
Date: |
Mon, 15 Jan 2001 20:45:37 +0100 |
At 14:14 +0100 1-01-15, Akim Demaille wrote:
>I'd be happy to understand how on a Mac you can determine that
>including sys/types.h is unnecessary, if it's so much platform
>dependent :)
I do not remember; it could be that the headers needed already were
included. Somebody at GNU seems to put in extra headers just in case. :-)
>But the point is, there are very few headers which are available
>*everywhere*, and *no single GNU program* ever checks for them:
>stdio.h, sys/types, and sys/stat.h. Considering the effort it would
>take the free software to adjust itself to your environment, if I were
>you I'd create sys/types, and have it include the very very very much
>more system dependent size_t.h (or I don't remember how it's named).
If the compiler with ISO/ANSI C, size_t is defined in stdio.h. So the
system dependency is on those platforms where ISO/ANSI C isn't available.
Hans Aberg
Re: bison-20001221, Hans Aberg, 2001/01/13
Re: bison-20001221, Hans Aberg, 2001/01/12