diff options
| author | Michael Forney <mforney@mforney.org> | 2019-06-27 15:16:39 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-06-27 18:18:34 -0700 |
| commit | 1acbd4da02eb82a035c00a2f484364453469ff06 (patch) | |
| tree | baf1d665ad859818b63a523d105a5d8329446df1 /pkg/util-linux/config.h | |
| parent | fe0aae18e5024fc8027846fcec45fb5f1b7a11c9 (diff) | |
Detect TLS support in compiler
Diffstat (limited to 'pkg/util-linux/config.h')
| -rw-r--r-- | pkg/util-linux/config.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/util-linux/config.h b/pkg/util-linux/config.h index eb40fd42..9ef60753 100644 --- a/pkg/util-linux/config.h +++ b/pkg/util-linux/config.h @@ -200,7 +200,9 @@ #define HAVE_TERM_H 1 #define HAVE_TIMEGM 1 #define HAVE_TIMER_CREATE 1 -#define HAVE_TLS 1 +#ifdef HAVE__THREAD_LOCAL +# define HAVE_TLS 1 +#endif #define HAVE_TM_GMTOFF 1 #define HAVE_TM_ZONE 1 /* #undef HAVE_TZNAME */ |
