This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GCC headers and DJGPP port


On Thu, Jul 20, 2000 at 08:25:40AM -0700, Bruce Korb wrote:
...
> The amusing thing about that is that stddef.h is not platform
> specific, even though the SIZE_TYPE, PTRDIFF_TYPE and WCHAR_TYPE
> defines are.  I'm thinking that fixincludes should do its thing
> on the GCC-supplied stddef.h since fixincludes replaces these
> typedefs with platform-specific changes (as of today :-).

Our stddef.h uses the magic __SIZE_TYPE__, __PTRDIFF_TYPE__, and
__WCHAR_TYPE__ defines, which are set by cpp to the values of the
SIZE_TYPE, etc. defines in tm.h.  And fixincludes should too.

I sent in a patch over a year ago that drastically simplified our
stddef.h, but no one ever reviewed it.
http://gcc.gnu.org/ml/gcc-patches/1999-01/msg00655.html.

zw

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]