diff options
author | Alexei Vladishev <alexei.vladishev@zabbix.com> | 2006-10-30 16:11:25 +0300 |
---|---|---|
committer | Alexei Vladishev <alexei.vladishev@zabbix.com> | 2006-10-30 16:11:25 +0300 |
commit | bdd6864f7cb6770c96227b9f6f567f21bee31d04 (patch) | |
tree | 5544f7752f9c3436076c44f62a57ab632bf31b54 /include/zbxtypes.h | |
parent | 1732db720c0966434c6a983c6b8107c2fd27c7bd (diff) |
Misc changes for 32 bit platform.
Diffstat (limited to 'include/zbxtypes.h')
-rwxr-xr-x | include/zbxtypes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/zbxtypes.h b/include/zbxtypes.h index 306a33897dc..a76aa6fa436 100755 --- a/include/zbxtypes.h +++ b/include/zbxtypes.h @@ -42,8 +42,10 @@ # define zbx_uint64_t uint64_t # if __WORDSIZE == 64 # define ZBX_FS_UI64 "%lu" +# define ZBX_OFFSET 10000000000000000UL # else /* __WORDSIZE == 64 */ # define ZBX_FS_UI64 "%llu" +# define ZBX_OFFSET 10000000000000000ULL # endif /* __WORDSIZE == 64 */ # define zbx_pid_t pid_t |