comparison src/syssignal.h @ 5936:574f0cded429 cygwin

try to replace all nnnL or nnnUL constants with EMACS_[U]INT
author Henry Thompson <ht@markup.co.uk>
date Sun, 13 Dec 2015 13:22:58 +0000
parents 308d34e9f07d
children
comparison
equal deleted inserted replaced
5935:d5eb0914ca1f 5936:574f0cded429
156 156
157 #define EMACS_SIGNAL qxe_reliable_signal 157 #define EMACS_SIGNAL qxe_reliable_signal
158 158
159 /* Is it necessary to define sigmask like this? */ 159 /* Is it necessary to define sigmask like this? */
160 #ifndef sigmask 160 #ifndef sigmask
161 # define sigmask(no) (1L << ((no) - 1)) 161 # define sigmask(no) (E1 << ((no) - 1))
162 #endif 162 #endif
163 163
164 #define EMACS_BLOCK_SIGNAL(sig) sigblock (sigmask (sig)) 164 #define EMACS_BLOCK_SIGNAL(sig) sigblock (sigmask (sig))
165 #define EMACS_UNBLOCK_SIGNAL(sig) sigsetmask (sigblock (0) & ~sigmask (sig)) 165 #define EMACS_UNBLOCK_SIGNAL(sig) sigsetmask (sigblock (0) & ~sigmask (sig))
166 #define EMACS_UNBLOCK_ALL_SIGNALS() sigsetmask (0) 166 #define EMACS_UNBLOCK_ALL_SIGNALS() sigsetmask (0)