mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-22 12:33:53 -08:00
(sigprocmask_set): Conditionalize decl on ! NOT_C_CODE.
(sigprocmask_set): Declare as extern SIGMASKTYPE. (SIGMASKTYPE): Define.
This commit is contained in:
parent
362ffaf48f
commit
4ddf4e303d
1 changed files with 7 additions and 0 deletions
|
|
@ -132,6 +132,13 @@ Boston, MA 02111-1307, USA. */
|
|||
/* SCO Unix has Posix signals, but in 3.2.5 something broken that causes
|
||||
* all keyboard-quit signals to be lost after the first one. */
|
||||
#undef POSIX_SIGNALS
|
||||
|
||||
#define SIGMASKTYPE long
|
||||
|
||||
#ifndef NOT_C_CODE
|
||||
extern SIGMASKTYPE sigprocmask_set;
|
||||
#endif /* not NOT_C_CODE */
|
||||
|
||||
#define sigblock(sig) \
|
||||
(sigprocmask_set = SIGEMPTYMASK | (sig), \
|
||||
sigprocmask (SIG_BLOCK, &sigprocmask_set, NULL))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue