hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp
changeset 15228 e92acc84ade3
parent 11881 9642744ae9a5
child 22227 7c679653987e
--- a/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp	Wed Jan 16 16:30:04 2013 +0100
+++ b/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp	Thu Jan 17 10:25:16 2013 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -306,4 +306,8 @@
 #endif
 #define offsetof(klass,field) offset_of(klass,field)
 
+#if defined(_LP64) && defined(__APPLE__)
+#define JLONG_FORMAT           "%ld"
+#endif // _LP64 && __APPLE__
+
 #endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_GCC_HPP