summaryrefslogtreecommitdiff
path: root/config.h.cmake
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mnogosearch.org>2014-04-10 15:26:05 +0400
committerAlexander Barkov <bar@mnogosearch.org>2014-04-10 15:26:05 +0400
commit5fffa449edd9d7953236a9ce88b9b4cdda300ad9 (patch)
treef25aaa3ffe017e250dc720773ce757ad3ad3737a /config.h.cmake
parent39afdcddd12858619b648ffaa670021356c3d0c2 (diff)
downloadmariadb-git-5fffa449edd9d7953236a9ce88b9b4cdda300ad9.tar.gz
Fixing compilation problem on AIX.
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake8
1 files changed, 8 insertions, 0 deletions
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