Hi Iain, >>> diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h >>> index 0d53103ce20..bf9c6e609dc 100644 >>> --- a/gcc/ginclude/stddef.h >>> +++ b/gcc/ginclude/stddef.h >>> @@ -89,6 +89,17 @@ see the files COPYING3 and COPYING.RUNTIME respectively. >>> If not, see >>> #undef _PTRDIFF_T_ >>> #endif >>> >>> +#if defined (__APPLE__) >>> +# if defined(__has_feature) && __has_feature(modules) >>> +# if defined (__need_ptrdiff_t) >>> +# undef __PTRDIFF_T >>> +# endif >>> +# if defined (__need_size_t) >>> +# undef __SIZE_T >>> +# endif >>> +# endif >>> +#endif
shouldn't this have a comment explaining the need for this? Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University