src/array_list.c

changeset 1650
aa8621b58cd7
parent 1645
27037c1b14e0
--- a/src/array_list.c	Mon Dec 22 00:20:01 2025 +0100
+++ b/src/array_list.c	Mon Dec 22 00:20:41 2025 +0100
@@ -356,8 +356,8 @@
 }
 
 #ifndef WITH_QSORT_R
-static _Thread_local cx_compare_func2 cx_array_fn_for_qsort;
-static _Thread_local void *cx_array_context_for_qsort;
+static cx_thread_local cx_compare_func2 cx_array_fn_for_qsort;
+static cx_thread_local void *cx_array_context_for_qsort;
 static int cx_array_qsort_wrapper(const void *l, const void *r) {
     return cx_array_fn_for_qsort(l, r, cx_array_context_for_qsort);
 }

mercurial