1.1 --- a/src/share/vm/utilities/globalDefinitions.hpp Wed Jan 16 16:30:04 2013 +0100 1.2 +++ b/src/share/vm/utilities/globalDefinitions.hpp Thu Jan 17 10:25:16 2013 -0500 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 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 @@ -1250,6 +1250,14 @@ 1.11 1.12 #define PTR64_FORMAT "0x%016" PRIx64 1.13 1.14 +// Format jlong, if necessary 1.15 +#ifndef JLONG_FORMAT 1.16 +#define JLONG_FORMAT INT64_FORMAT 1.17 +#endif 1.18 +#ifndef JULONG_FORMAT 1.19 +#define JULONG_FORMAT UINT64_FORMAT 1.20 +#endif 1.21 + 1.22 // Format pointers which change size between 32- and 64-bit. 1.23 #ifdef _LP64 1.24 #define INTPTR_FORMAT "0x%016" PRIxPTR