On 04/14/16 02:48 AM, Andriy Gapon wrote:
> On 14/04/2016 05:38, William A. Mahaffey III wrote:
>> All seems OK w/ the system headers (I know, shocking !!!!), the required 
>> files
>> defining a '__uintptr_t' are in fact unconditionally included, so it must be
>> something else (bad defines somewhere, or ....). I am still chasing ....
> 
> Apologies, but are you serious?..
> 
> $ fgrep -r __uintptr_t /usr/include/
> ...
> /usr/include/x86/_types.h:typedef       __uint64_t      __uintptr_t;
> /usr/include/x86/_types.h:typedef       __uint32_t      __uintptr_t;
> ...
> 
> This is on an amd64 head system.

#ifdef  __LP64__
...
typedef __uint64_t      __uintptr_t;
#else
...
typedef __uint32_t      __uintptr_t;
#endif

Jung-uk Kim

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to