> We set _LP64 and __LP64__ variables on 64-bit arch. > > $ cpp -dM /dev/null | grep LP64 > #define _LP64 1 > #define __LP64__ 1
It should also be ok to (ab)use LONG_BIT from limits.h, depending on how the code is 64 bit specific. Ciao, Kili
> We set _LP64 and __LP64__ variables on 64-bit arch. > > $ cpp -dM /dev/null | grep LP64 > #define _LP64 1 > #define __LP64__ 1
It should also be ok to (ab)use LONG_BIT from limits.h, depending on how the code is 64 bit specific. Ciao, Kili