From 0ba6f4c79ca6c38c6649afe279ed49f14c77f449 Mon Sep 17 00:00:00 2001 From: Shawn Anastasio Date: Thu, 7 Mar 2019 17:08:08 -0600 Subject: qglobal.h: Fix build on AIX AIX's inttypes.h already defines the type int64, check if it is already included before attempting to redefine it. Tested on AIX 7.2 --- qtools/qglobal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qtools/qglobal.h b/qtools/qglobal.h index c3f7594..8512f41 100644 --- a/qtools/qglobal.h +++ b/qtools/qglobal.h @@ -357,7 +357,9 @@ typedef const char *pcchar; typedef __int64 int64; typedef unsigned __int64 uint64; #else +#if !defined(_OS_AIX_) || !defined(_H_INTTYPES) typedef long long int64; +#endif typedef unsigned long long uint64; #endif -- cgit v0.12