< prev index next >
src/hotspot/share/utilities/globalDefinitions_gcc.hpp
Print this page
*** 252,263 ****
#if defined(_LP64) && defined(__APPLE__)
#define JLONG_FORMAT "%ld"
#define JLONG_FORMAT_W(width) "%" #width "ld"
#endif // _LP64 && __APPLE__
! #ifndef USE_LIBRARY_BASED_TLS_ONLY
! #define THREAD_LOCAL_DECL __thread
#endif
// Inlining support
#define NOINLINE __attribute__ ((noinline))
#define ALWAYSINLINE inline __attribute__ ((always_inline))
--- 252,263 ----
#if defined(_LP64) && defined(__APPLE__)
#define JLONG_FORMAT "%ld"
#define JLONG_FORMAT_W(width) "%" #width "ld"
#endif // _LP64 && __APPLE__
! #if __cplusplus < 201103L
! #define thread_local __thread
#endif
// Inlining support
#define NOINLINE __attribute__ ((noinline))
#define ALWAYSINLINE inline __attribute__ ((always_inline))
< prev index next >