This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] include _mingw.h in stddef.h
2009/9/20 Danny Smith <dansmister@gmail.com>:
>>> What is the mingw maintainers' final decision on this?
>>
>> I vote for adding _mingw.h include for mingw targets. I think Danny
>> should have here a final word about this, too. If there are no
>> objections in the next 24 hours, this patch is ok from my side.shou
>
> Please tell me why stddef.h should define these types.
>
> If it should perhaps mingw.org could simply ?provide its own stddef.h
> that includes _mingw.h and include_next's gcc's stddef.h
Well, the issue here is, that if somebody want to compile something
initially written for VC and just includes stddef.h assumes, that
types - like __int64, __int16, __in32, etc - are present.
But to use here instead of '#include <_mingw.h>' '#include_next
<stddef.h>' for mingw would be even better.
Cheers,
Kai
--
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination