Subject | UDF & ISC_QUAD typedef compiled with gcc (64 bit ) |
---|---|
Author | ma_golyo |
Post date | 2012-05-31T12:23:58Z |
Hi!
Current c code :
typedef struct {
#ifdef __LP64__
signed long slong;
unsigned long ulong;
#else
signed int slong;
unsigned int ulong;
#endif
} ISC_QUAD;
It's OK on win32, win64, linux32.
It's not ON linux64, time fraction is incorrect.
What do I need to change to get good result on linux64?
PS: It's also strange that win64 is OK, but linux64 not.
Current c code :
typedef struct {
#ifdef __LP64__
signed long slong;
unsigned long ulong;
#else
signed int slong;
unsigned int ulong;
#endif
} ISC_QUAD;
It's OK on win32, win64, linux32.
It's not ON linux64, time fraction is incorrect.
What do I need to change to get good result on linux64?
PS: It's also strange that win64 is OK, but linux64 not.