Reported by Paul Eggert.
* lib/thread-optim.h (IF_MT): Fix logic error.
+2020-08-09 Bruno Haible <bruno@clisp.org>
+
+ thread-optim: Fix logic error.
+ Reported by Paul Eggert.
+ * lib/thread-optim.h (IF_MT): Fix logic error.
+
2020-08-08 Bruno Haible <bruno@clisp.org>
localename: Use module 'thread-optim'.
#if HAVE_SYS_SINGLE_THREADED_H /* glibc >= 2.32 */
# include <sys/single_threaded.h>
# define IF_MT_DECL char optimize_for_single_thread = __libc_single_threaded
-# define IF_MT if (optimize_for_single_thread)
+# define IF_MT if (!optimize_for_single_thread)
#else
# define IF_MT_DECL (void *)0
# define IF_MT