GCC headers and DJGPP port

Zack Weinberg zack@wolery.cumb.org
Thu Jul 20 09:54:00 GMT 2000


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


More information about the Gcc mailing list