From 5fffa449edd9d7953236a9ce88b9b4cdda300ad9 Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Thu, 10 Apr 2014 15:26:05 +0400 Subject: Fixing compilation problem on AIX. --- config.h.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'config.h.cmake') diff --git a/config.h.cmake b/config.h.cmake index 06c18da66c8..c48d17fada0 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -643,4 +643,12 @@ #cmakedefine SIZEOF_TIME_T @SIZEOF_TIME_T@ #cmakedefine TIME_T_UNSIGNED @TIME_T_UNSIGNED@ +#ifdef _AIX +/* + AIX includes inttypes.h from sys/types.h + Explicitly request format macros before the first inclusion of inttypes.h +*/ +#define __STDC_FORMAT_MACROS +#endif + #endif -- cgit v1.2.1