Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexei Vladishev <alexei.vladishev@zabbix.com>2006-10-30 16:11:25 +0300
committerAlexei Vladishev <alexei.vladishev@zabbix.com>2006-10-30 16:11:25 +0300
commitbdd6864f7cb6770c96227b9f6f567f21bee31d04 (patch)
tree5544f7752f9c3436076c44f62a57ab632bf31b54 /include/zbxtypes.h
parent1732db720c0966434c6a983c6b8107c2fd27c7bd (diff)
Misc changes for 32 bit platform.
Diffstat (limited to 'include/zbxtypes.h')
-rwxr-xr-xinclude/zbxtypes.h2
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