hotspot/src/share/vm/utilities/globalDefinitions_xlc.hpp
changeset 34633 2a6c7c7b30a7
parent 32393 4406de22d8ce
child 35594 cc13089c6327
--- a/hotspot/src/share/vm/utilities/globalDefinitions_xlc.hpp	Fri Dec 04 04:29:31 2015 +0000
+++ b/hotspot/src/share/vm/utilities/globalDefinitions_xlc.hpp	Fri Dec 04 04:06:37 2015 -0500
@@ -180,5 +180,8 @@
 #define SIZE_64G  ((uint64_t) UCONST64( 0x1000000000))
 #define SIZE_1T   ((uint64_t) UCONST64(0x10000000000))
 
+#ifndef USE_LIBRARY_BASED_TLS_ONLY
+#define THREAD_LOCAL_DECL __thread
+#endif
 
 #endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_XLC_HPP