1
Fork 0
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:
Richard M. Stallman 2001-12-30 22:40:16 +00:00
parent 362ffaf48f
commit 4ddf4e303d

View file

@ -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))