As of a library I know of its high portability, SDL implements it like
this: http://svn.libsdl.org/branches/SDL-1.2/include/SDL_stdinc.h. I
still don't know if Uint64 would work correctly if SDL_HAS_64BIT_TYPE
is not defined...
JP
Actually, it does not, as expected from the linked code. On some log:
+0.9.12:
+ There is partial support for 64-bit datatypes. I don't recommend
+ you use this if you have a choice, because 64-bit datatypes are not
+ supported on many platforms. On platforms for which it is supported,
+ the SDL_HAS_64BIT_TYPE C preprocessor define will be enabled, and
+ you can use the Uint64 and Sint64 datatypes.
Well, let's go for macros then. Actually, the user of the library is
still free to use pdf_int64_t with common operators if he does not mind
about portability. It is actually a must for us, so let's go with
preprocessor macros, in my opinion.
Sorry for the useless previous email.
JP