pthread_sigmask: Make declaration C++ safe.
authorBruno Haible <bruno@clisp.org>
Fri, 8 Jul 2011 00:08:15 +0000 (02:08 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 8 Jul 2011 00:08:15 +0000 (02:08 +0200)
commitbfb5ec49acc21828edb68ebfe93b94c43b044200
tree408ace7c0c9c2291d0523e077c79fb1c920ed88d
parent34f19098068439da352e5dbac4e431220557f812
pthread_sigmask: Make declaration C++ safe.

* lib/signal.in.h: In two special conditions, just do an #include_next.
(pthread_sigmask): Test HAVE_PTHREAD_SIGMASK, not REPLACE_PTHREAD_MASK.
Invoke _GL_CXXALIAS_SYS and _GL_CXXALIASWARN.
* m4/signal_h.m4 (gl_SIGNAL_H_DEFAULTS): Initialize
HAVE_PTHREAD_SIGMASK, not REPLACE_PTHREAD_MASK.
* m4/pthread_sigmask.m4 (gl_PTHREAD_SIGMASK): Set HAVE_PTHREAD_SIGMASK,
not REPLACE_PTHREAD_MASK.
* modules/signal (Makefile.am): Substitute HAVE_PTHREAD_SIGMASK,
not REPLACE_PTHREAD_MASK.
* modules/pthread_sigmask (Depends-on, configure.ac): Update condition.
ChangeLog
lib/signal.in.h
m4/pthread_sigmask.m4
m4/signal_h.m4
modules/pthread_sigmask
modules/signal