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:
authorJuris Lambda <juris.lambda@zabbix.com>2022-09-26 09:40:01 +0300
committerJuris Lambda <juris.lambda@zabbix.com>2022-09-26 09:40:01 +0300
commita23a4a500684231765745b3e96c58fc3ae07a4e2 (patch)
tree5d495965b555c156c6be34281e849d12c7313425 /include/zbxtypes.h
parentc3616c308f8877bee86ee17d85f79b9a65b07dd9 (diff)
...G...PS. [ZBX-20864] fixed format specifier definitions on AIX
This reverts commit f8f90ded8fa174c50755d2fded77694ca99c3736. That commit reverted these same changes as they were merged during a release branch freeze.
Diffstat (limited to 'include/zbxtypes.h')
-rw-r--r--include/zbxtypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/zbxtypes.h b/include/zbxtypes.h
index ba799ab27c0..d81244652a1 100644
--- a/include/zbxtypes.h
+++ b/include/zbxtypes.h
@@ -106,7 +106,7 @@ typedef long ssize_t;
# endif
# define zbx_uint64_t uint64_t
-# if __WORDSIZE == 64
+# if __WORDSIZE == 64 || defined(__64BIT__)
# if defined(__APPLE__) && defined(__MACH__) /* OS X */
# define ZBX_FS_UI64 "%llu"
# define ZBX_FS_UO64 "%llo"
@@ -129,7 +129,7 @@ typedef long ssize_t;
# endif
# define zbx_int64_t int64_t
-# if __WORDSIZE == 64
+# if __WORDSIZE == 64 || defined(__64BIT__)
# if defined(__APPLE__) && defined(__MACH__) /* OS X */
# define ZBX_FS_I64 "%lld"
# define ZBX_FS_O64 "%llo"