hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp
changeset 15228 e92acc84ade3
parent 11881 9642744ae9a5
child 22227 7c679653987e
equal deleted inserted replaced
15225:40677d8847bd 15228:e92acc84ade3
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   304 #ifdef offsetof
   304 #ifdef offsetof
   305 # undef offsetof
   305 # undef offsetof
   306 #endif
   306 #endif
   307 #define offsetof(klass,field) offset_of(klass,field)
   307 #define offsetof(klass,field) offset_of(klass,field)
   308 
   308 
       
   309 #if defined(_LP64) && defined(__APPLE__)
       
   310 #define JLONG_FORMAT           "%ld"
       
   311 #endif // _LP64 && __APPLE__
       
   312 
   309 #endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_GCC_HPP
   313 #endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_GCC_HPP