15 Aug
2012
15 Aug
'12
3:22 a.m.
Hi Alexei, I've splitted the path into 10 parts. There is a bigger one that is only s/long/intptr_t/ and s/unsigned long/uintptr_t/ the rest is very small. Hopefully this can now be applied.
Ditto (the corresponding hunk is not quite optimal, though. {s,u}int32 can be typedef'ed to {,u}int32_t => no need for ugly #if's).
I was thinking of this, however we need exactly the same underlying type as (u)intptr_t for the same sized integer to avoid compiler confusion. So in some cases (e.g. on i686 Linux) stdint.h might define int32_t as int and intptr_t as long and in this case the compiler will complain about multiple definition of the same function. Bests, Robert