* tests/test-thread_self.c (main): Disable test on AIX.
+2019-12-02 Bruno Haible <bruno@clisp.org>
+
+ thread tests: Avoid link error with --enable-threads=isoc+posix on AIX.
+ * tests/test-thread_self.c (main): Disable test on AIX.
+
2019-12-01 Bruno Haible <bruno@clisp.org>
pthread-h: Fix link errors with --enable-threads=isoc on AIX.
/* Check that gl_thread_self () can be used with just $(LIBTHREAD), not
$(LIBMULTITHREAD), i.e. in libraries that are multithread-safe but don't
create threads themselves. */
+ /* This is not the case on AIX with --enable-threads=isoc+posix, because in
+ this case, $(LIBTHREAD) is empty whereas $(LIBMULTITHREAD) is '-lpthread'.
+ */
+#if !defined _AIX
main_thread = gl_thread_self ();
+#endif
return 0;
}