"Boaz Harrosh" boaz@hishome.net wrote:
Long long constants are not portable, you need to compute them from long constants.
The official way to do it in GCC (any gcc) is 0x1234567812345678LL Just like we used to do 0x12345678L in 16 bit In VC++ it is 0x1234567812345678i64. Intel can do LL as well. Not sure about borland or watcom. What do OS X use?
I guess you can do: #ifdef _GCC_ #define i64 LL #endif
or the opposite way (#define LL i64 )
We have to use an approach implemented in include/wine/debug.h, wine_dbgstr_longlong(). Any modifier for LL in the printf format string is not portable.