Clang presents itself as GCC 4.2, so it doesn't hit the >= GCC 4.3 ifdef.
Signed-off-by: Martin Storsjö <mar...@martin.st> --- mingw-w64-crt/testcases/t_tls1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-crt/testcases/t_tls1.c b/mingw-w64-crt/testcases/t_tls1.c index 1abe850a2..123123a5f 100644 --- a/mingw-w64-crt/testcases/t_tls1.c +++ b/mingw-w64-crt/testcases/t_tls1.c @@ -15,7 +15,7 @@ #if defined(_MSC_VER) /* MS Visual Studio */ #define __threadlocal__ __declspec(thread) #elif defined(__GNUC__) && ((__GNUC__ > 4) \ - || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) + || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) || defined(__clang__) /* gcc >= 4.3, also needs binutils >= 2.19 */ #define __threadlocal__ __thread #else -- 2.43.0 _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public