Mercurial > gnulib
comparison lib/signal.in.h @ 39207:ca2c3817b8a6
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.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 04 Jan 2018 10:42:21 +0100 |
parents | 24e347e0e326 |
children | b06060465f09 |
comparison
equal
deleted
inserted
replaced
39206:2d5e5d6c8d45 | 39207:ca2c3817b8a6 |
---|---|
135 _GL_FUNCDECL_RPL (pthread_sigmask, int, | 135 _GL_FUNCDECL_RPL (pthread_sigmask, int, |
136 (int how, const sigset_t *new_mask, sigset_t *old_mask)); | 136 (int how, const sigset_t *new_mask, sigset_t *old_mask)); |
137 _GL_CXXALIAS_RPL (pthread_sigmask, int, | 137 _GL_CXXALIAS_RPL (pthread_sigmask, int, |
138 (int how, const sigset_t *new_mask, sigset_t *old_mask)); | 138 (int how, const sigset_t *new_mask, sigset_t *old_mask)); |
139 # else | 139 # else |
140 # if !@HAVE_PTHREAD_SIGMASK@ | 140 # if !(@HAVE_PTHREAD_SIGMASK@ || defined pthread_sigmask) |
141 _GL_FUNCDECL_SYS (pthread_sigmask, int, | 141 _GL_FUNCDECL_SYS (pthread_sigmask, int, |
142 (int how, const sigset_t *new_mask, sigset_t *old_mask)); | 142 (int how, const sigset_t *new_mask, sigset_t *old_mask)); |
143 # endif | 143 # endif |
144 _GL_CXXALIAS_SYS (pthread_sigmask, int, | 144 _GL_CXXALIAS_SYS (pthread_sigmask, int, |
145 (int how, const sigset_t *new_mask, sigset_t *old_mask)); | 145 (int how, const sigset_t *new_mask, sigset_t *old_mask)); |