Commits

Juris Miscenko authored 623099bed8c
...G...PS. [ZBX-20864] Fixed format specifier definitions on AIX AIX doesn't export the __WORDSIZE system configuration variable and instead uses WORD_BIT for this purpose. However, the word size doesn't change regardless of compiler mode, making WORD_BIT useless for determining format specifiers for the varying size integers. When the compiler is invoked in 64 bit mode (-maix64 for gcc, -q64 or setting OBJECT_MODE=64 for xlc), it defines __64BIT__, which we can use instead.