8224742: JLONG_FORMAT_W incompatible with type jlong
Reviewed-by: thartmann, clanger
--- a/src/hotspot/share/utilities/globalDefinitions_gcc.hpp Wed May 22 21:24:09 2019 -0400
+++ b/src/hotspot/share/utilities/globalDefinitions_gcc.hpp Fri May 24 15:36:48 2019 +0200
@@ -250,7 +250,8 @@
#define offsetof(klass,field) offset_of(klass,field)
#if defined(_LP64) && defined(__APPLE__)
-#define JLONG_FORMAT "%ld"
+#define JLONG_FORMAT "%ld"
+#define JLONG_FORMAT_W(width) "%" #width "ld"
#endif // _LP64 && __APPLE__
#ifndef USE_LIBRARY_BASED_TLS_ONLY