hotspot/src/os/solaris/vm/thread_solaris.inline.hpp
changeset 14583 d70ee55535f4
parent 7724 a92d706dbdd5
child 24351 61b33cc6d3cf
--- a/hotspot/src/os/solaris/vm/thread_solaris.inline.hpp	Tue Nov 27 10:13:20 2012 +0100
+++ b/hotspot/src/os/solaris/vm/thread_solaris.inline.hpp	Tue Nov 27 14:20:21 2012 +0100
@@ -25,6 +25,10 @@
 #ifndef OS_SOLARIS_VM_THREAD_SOLARIS_INLINE_HPP
 #define OS_SOLARIS_VM_THREAD_SOLARIS_INLINE_HPP
 
+#ifndef SHARE_VM_RUNTIME_THREAD_INLINE_HPP_SCOPE
+#error "This file should only be included from thread.inline.hpp"
+#endif
+
 #include "runtime/atomic.hpp"
 #include "runtime/prefetch.hpp"
 #include "runtime/thread.hpp"