hotspot/make/aix/makefiles/xlc.make
changeset 28611 2eb1ab939ba4
parent 28366 de66d915b262
child 30197 5b5007789e4f
--- a/hotspot/make/aix/makefiles/xlc.make	Wed Jul 05 20:16:23 2017 +0200
+++ b/hotspot/make/aix/makefiles/xlc.make	Tue Jan 13 16:09:52 2015 +0100
@@ -74,6 +74,12 @@
 # no xlc counterpart for -fcheck-new
 # CFLAGS += -fcheck-new
 
+# We need to define this on the command line if we want to use the the
+# predefined format specifiers from "inttypes.h". Otherwise system headrs
+# can indirectly include inttypes.h before we define __STDC_FORMAT_MACROS
+# in globalDefinitions.hpp
+CFLAGS += -D__STDC_FORMAT_MACROS
+
 ARCHFLAG = -q64
 
 CFLAGS     += $(ARCHFLAG)