> Fine, so some #if __x86_64__ || __ppc64__ code then to the unit tests
> or is there a smarter (non-gcc spesific) way to deal with this?
Good question. What I found was:
These macros are defined, with value 1, if (and only if) the compilation
is for a target where long int and pointer both use 64-bits and int uses
This is in the GNU libc so at least we're independent of compiler and
processor architecture. Then again, this check might fail for Android.
I don't have a definite answer for this one.