diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-01-30 16:15:53 +0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-01-30 16:15:53 +0700 |
commit | 7e598cd23144ea2997a272384fb5d1788bd4b0fd (patch) | |
tree | 624b748428bd929aac84c8780890a380883f1567 /src/misc/util/abc_global.h | |
parent | aaacf57304b74b37617fcd669f1c1314afebc913 (diff) | |
download | abc-7e598cd23144ea2997a272384fb5d1788bd4b0fd.tar.gz abc-7e598cd23144ea2997a272384fb5d1788bd4b0fd.tar.bz2 abc-7e598cd23144ea2997a272384fb5d1788bd4b0fd.zip |
Fixing compilation problems on Linux-32 related to constants of type unsigned long long.
Diffstat (limited to 'src/misc/util/abc_global.h')
-rw-r--r-- | src/misc/util/abc_global.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/misc/util/abc_global.h b/src/misc/util/abc_global.h index 21546842..21ae6a9c 100644 --- a/src/misc/util/abc_global.h +++ b/src/misc/util/abc_global.h @@ -197,6 +197,12 @@ typedef unsigned __int64 ABC_UINT64_T; #error unknown platform #endif /* defined(PLATFORM) */ +#ifdef LIN + #define ABC_CONST(number) number ## ULL +#else // LIN64 and windows + #define ABC_CONST(number) number +#endif + typedef ABC_UINT64_T word; typedef ABC_INT64_T iword; |