diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2011-03-22 19:01:48 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-03-23 09:11:33 -0700 |
commit | c55baebf4ebf1887262cc16899eb297b9f284f6e (patch) | |
tree | d9349a14c71f893d8d08c0724a79fa7c6223efd3 /include/dix-config.h.in | |
parent | 03f45df93469f6aef391e97007b9614e0770cc4c (diff) |
GLX: Support TLS with better portability
AX_TLS detects when toolchains support __thread or __declspec(thread),
but existing code assumed __thread.
This also adds a check to configure.ac to error out if TLS is requested
but unsupported.
Found-by: Tinderbox
http://tinderbox.x.org/builds/2011-03-22-0007
Regression-from: 82b1eaa6cad20f39dbf15573bdb3d62acbcd91f9
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Tom Fogal <tfogal@alumni.unh.edu>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Diffstat (limited to 'include/dix-config.h.in')
-rw-r--r-- | include/dix-config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dix-config.h.in b/include/dix-config.h.in index fc93f3ec1..fd9ecced2 100644 --- a/include/dix-config.h.in +++ b/include/dix-config.h.in @@ -444,6 +444,9 @@ /* Define to 1 if you have the `ffs' function. */ #undef HAVE_FFS +/* If the compiler supports a TLS storage class define it to that here */ +#undef TLS + /* Correctly set _XSERVER64 for OSX fat binaries */ #ifdef __APPLE__ #include "dix-config-apple-verbatim.h" |