hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp
changeset 46630 75aa3e39d02c
parent 46560 388aa8d67c80
--- a/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp	Wed Jul 05 11:03:19 2017 -0700
+++ b/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp	Thu Jul 06 01:50:26 2017 +0200
@@ -241,7 +241,11 @@
 
 // Formatting.
 #ifdef _LP64
-#define FORMAT64_MODIFIER "l"
+# ifdef __APPLE__
+# define FORMAT64_MODIFIER "ll"
+# else
+# define FORMAT64_MODIFIER "l"
+# endif
 #else // !_LP64
 #define FORMAT64_MODIFIER "ll"
 #endif // _LP64