< prev index next >

src/share/vm/utilities/globalDefinitions_gcc.hpp

Print this page

        

@@ -239,11 +239,15 @@
 #define CONST_SDM_BUG
 #endif
 
 // 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
 
 // HACK: gcc warns about applying offsetof() to non-POD object or calculating
< prev index next >