* lib/glthread/thread.h (pthread_sigmask): Don't declare it weak if
it's defined as a macro.
* modules/thread (Depends-on): Add pthread_sigmask.
+2017-08-16 Bruno Haible <bruno@clisp.org>
+
+ thread: Fix conflict with pthread_sigmask module.
+ * lib/glthread/thread.h (pthread_sigmask): Don't declare it weak if
+ it's defined as a macro.
+ * modules/thread (Depends-on): Add pthread_sigmask.
+
2017-08-16 Paul Eggert <eggert@cs.ucla.edu>
rename: port better to NetBSD
/* Without this, clang complains that pthread_sigmask is never declared. */
# include <signal.h>
# endif
-# pragma weak pthread_sigmask
+# ifndef pthread_sigmask /* Do not declare rpl_pthread_sigmask weak. */
+# pragma weak pthread_sigmask
+# endif
# pragma weak pthread_join
# ifndef pthread_self
threadlib
extern-inline
lock
+pthread_sigmask [test $gl_threads_api = posix]
configure.ac:
gl_THREAD