src/share/vm/utilities/macros.hpp
Print this page
@@ -20,10 +20,17 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+#ifndef SHARE_VM_UTILITIES_MACROS_HPP
+#define SHARE_VM_UTILITIES_MACROS_HPP
+
+// On solaris _LP64 is setup in sys/types.h, all other OSes define _LP64 in the
+// make files. It's important that globalDefinitions_<compiler>.hpp has been
+// included before this file is included.
+
// Use this to mark code that needs to be cleaned up (for development only)
#define NEEDS_CLEANUP
// Makes a string of the argument (which is not macro-expanded)
#define STR(a) #a
@@ -232,5 +239,7 @@
#define EMBEDDED_ONLY(code)
#define NOT_EMBEDDED(code) code
#endif
#define define_pd_global(type, name, value) const type pd_##name = value;
+
+#endif // SHARE_VM_UTILITIES_MACROS_HPP