diff options
author | Alexei Vladishev <alexei.vladishev@zabbix.com> | 2007-08-26 17:08:56 +0400 |
---|---|---|
committer | Alexei Vladishev <alexei.vladishev@zabbix.com> | 2007-08-26 17:08:56 +0400 |
commit | 3bc4a43e3f9b0cbe2d6146d8f1bfa447630139ee (patch) | |
tree | 83b4f463096c2af4f910896ae4fb809ff4d42e52 /include/zbxtypes.h | |
parent | bfe3ef8a5197a9ec80853a64a99a61a8d421907d (diff) |
- [ZBX-11] fixed Free BSD 4.x 64 bit-related issues (Alexei)
[svn merge -r4673:4676 svn://svn.zabbix.com/branches/1.4]
Diffstat (limited to 'include/zbxtypes.h')
-rw-r--r-- | include/zbxtypes.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/zbxtypes.h b/include/zbxtypes.h index 1b9587fe5ca..e14a9b87eb2 100644 --- a/include/zbxtypes.h +++ b/include/zbxtypes.h @@ -59,7 +59,11 @@ # define ZBX_FS_UI64 "%lu" # define ZBX_OFFSET 10000000000000000UL # else /* __WORDSIZE == 64 */ -# define ZBX_FS_UI64 "%llu" +# ifdef HAVE_LONG_LONG_QU +# define ZBX_FS_UI64 "%qu" +# else +# define ZBX_FS_UI64 "%llu" +# endif # define ZBX_OFFSET 10000000000000000ULL # endif /* __WORDSIZE == 64 */ |