stdint.h vs inttypes.h (was: Re: Windows x64 support

Marcus Brinkmann marcus.brinkmann at
Mon May 3 08:34:19 PDT 2010

On 04/29/2010 07:10 PM, Fridrich Strba wrote:
>> stdint.h is a C99 header, which Microsoft hasn't really decided to support. 
>> How about inttypes.h?

Sorry but this change broke Windows CE builds, where stdint.h works.  It is
clear that stdint.h is the correct header, so please let's include that in any
case (if available), and also include some other header for broken platforms.

BTW, the Windows documentation recommends stddef.h for intptr_t (yuck!), but
says "other include files" work too.


More information about the dbus mailing list