summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Anastasio <shawn@anastas.io>2019-03-07 23:08:08 (GMT)
committerShawn Anastasio <shawn@anastas.io>2019-03-08 01:07:52 (GMT)
commit0ba6f4c79ca6c38c6649afe279ed49f14c77f449 (patch)
tree0f333fe2705b30285055d3f3cd7dc359a38a51b4
parent169a67186780c191749b958de0f71a17fa090248 (diff)
downloadDoxygen-0ba6f4c79ca6c38c6649afe279ed49f14c77f449.zip
Doxygen-0ba6f4c79ca6c38c6649afe279ed49f14c77f449.tar.gz
Doxygen-0ba6f4c79ca6c38c6649afe279ed49f14c77f449.tar.bz2
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
-rw-r--r--qtools/qglobal.h2
1 files changed, 2 insertions, 0 deletions
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