* tests/test-asyncsafe-spin2.c: Update to match the change in
lib/asyncsafe-spin.c from 2020-08-11.
+2020-08-16 Bruno Haible <bruno@clisp.org>
+
+ asyncsafe-spin tests: Update.
+ * tests/test-asyncsafe-spin2.c: Update to match the change in
+ lib/asyncsafe-spin.c from 2020-08-11.
+
2020-08-16 Bruno Haible <bruno@clisp.org>
setenv: Use tree code also with clang.
#define THREAD_COUNT 10
/* Number of operations performed in each thread. */
-#if !(defined _WIN32 && ! defined __CYGWIN__) && HAVE_PTHREAD_H && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1)) && !defined __ibmxl__
+#if !(defined _WIN32 && ! defined __CYGWIN__) && HAVE_PTHREAD_H && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || __clang_major__ >= 3) && !defined __ibmxl__
+
/* The GCC built-ins are known to work fine. */
# define REPEAT_COUNT 5000
#else