1.1 --- a/src/share/vm/utilities/globalDefinitions_gcc.hpp Wed Jan 16 16:30:04 2013 +0100 1.2 +++ b/src/share/vm/utilities/globalDefinitions_gcc.hpp Thu Jan 17 10:25:16 2013 -0500 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -306,4 +306,8 @@ 1.11 #endif 1.12 #define offsetof(klass,field) offset_of(klass,field) 1.13 1.14 +#if defined(_LP64) && defined(__APPLE__) 1.15 +#define JLONG_FORMAT "%ld" 1.16 +#endif // _LP64 && __APPLE__ 1.17 + 1.18 #endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_GCC_HPP