* lib/hamt.c (ref_counter): Use GL_HAMT_ATOMIC instead of
GL_HAMT_THREAD_SAFE.
+2026-08-12 Bruno Haible <bruno@clisp.org>
+
+ hamt: Fix compilation error (regression 2026-08-10).
+ * lib/hamt.c (ref_counter): Use GL_HAMT_ATOMIC instead of
+ GL_HAMT_THREAD_SAFE.
+
2026-08-11 Bruno Haible <bruno@clisp.org>
tests: Make last patch side-effect free.
A thread must not modify an entry or its children (!) if its
reference count implies that the entry is shared by at least two
hamts. */
-typedef
-#if GL_HAMT_THREAD_SAFE
-_Atomic
-#endif
-size_t ref_counter;
+typedef GL_HAMT_ATOMIC (size_t) ref_counter;
/***************/
/* Entry Types */