* m4/threads_h.m4 (gl_THREADS_H): In the test program, put the
'_Thread_local' storage class specifier before the type.
+2023-09-05 Bruno Haible <bruno@clisp.org>
+
+ threads-h: Modernize configure test.
+ * m4/threads_h.m4 (gl_THREADS_H): In the test program, put the
+ '_Thread_local' storage class specifier before the type.
+
2023-09-04 Bruno Haible <bruno@clisp.org>
unistr/u{8,16,32}-strtok tests: Fix -Wanalyzer-allocation-size warnings.
-# threads_h.m4 serial 10.2
+# threads_h.m4 serial 10.3
dnl Copyright (C) 2019-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
else
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([gl_THREAD_LOCAL_DEFINITION[
- int _Thread_local x;
+ _Thread_local int x;
]], [[
x = 42;
]])],