hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp
changeset 34633 2a6c7c7b30a7
parent 33604 ad1cd9269bd4
child 35490 74e4d7d16790
--- a/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp	Fri Dec 04 04:29:31 2015 +0000
+++ b/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp	Fri Dec 04 04:06:37 2015 -0500
@@ -326,4 +326,8 @@
 #define JLONG_FORMAT           "%ld"
 #endif // _LP64 && __APPLE__
 
+#ifndef USE_LIBRARY_BASED_TLS_ONLY
+#define THREAD_LOCAL_DECL __thread
+#endif
+
 #endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_GCC_HPP