diff options
author | Bruno Haible <bruno@clisp.org> | 2018-01-04 10:42:21 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2018-01-04 10:42:21 +0100 |
commit | b8ecba3a2559f01539ed76817bc2a0cf4977ea46 (patch) | |
tree | 159b6b5a445ab0f2cd8c93e6f9c84d7325fa8874 /lib/signal.in.h | |
parent | 7e7c5c7952b7de1e33c8eba891cc425d5d8d7803 (diff) | |
download | gnulib-b8ecba3a2559f01539ed76817bc2a0cf4977ea46.tar.gz |
pthread_sigmask: Avoid compilation error on mingw.
Reported by Tim Rühsen <tim.ruehsen@gmx.de>.
* lib/signal.in.h (pthread_sigmask): Don't declare it it's defined as a
macro.
Diffstat (limited to 'lib/signal.in.h')
-rw-r--r-- | lib/signal.in.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/signal.in.h b/lib/signal.in.h index 483413dc7f..7d4927b828 100644 --- a/lib/signal.in.h +++ b/lib/signal.in.h @@ -137,7 +137,7 @@ _GL_FUNCDECL_RPL (pthread_sigmask, int, _GL_CXXALIAS_RPL (pthread_sigmask, int, (int how, const sigset_t *new_mask, sigset_t *old_mask)); # else -# if !@HAVE_PTHREAD_SIGMASK@ +# if !(@HAVE_PTHREAD_SIGMASK@ || defined pthread_sigmask) _GL_FUNCDECL_SYS (pthread_sigmask, int, (int how, const sigset_t *new_mask, sigset_t *old_mask)); # endif |