@@ -271,6 +271,10 @@ #define FORMAT64_MODIFIER "ll" #endif // _LP64 #define offset_of(klass,field) offsetof(klass,field) +#ifndef USE_LIBRARY_BASED_TLS_ONLY +#define THREAD_LOCAL_DECL __thread +#endif + #endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_SPARCWORKS_HPP