diff options
author | Jim Blandy <jimb@redhat.com> | 1992-05-01 06:20:52 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1992-05-01 06:20:52 +0000 |
commit | 919212fe7946b09f512b638bcf33540bd116da1e (patch) | |
tree | 9aadc21d49efeaa8262e8008fec276138070b158 /src/=x11term.h | |
parent | 58dbe9703ad1b598d0e3b45fb917c13f979ee6b6 (diff) | |
download | emacs-919212fe7946b09f512b638bcf33540bd116da1e.tar.gz |
entered into RCS
Diffstat (limited to 'src/=x11term.h')
-rw-r--r-- | src/=x11term.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/=x11term.h b/src/=x11term.h index c6f24ba91eb..367eeaacc95 100644 --- a/src/=x11term.h +++ b/src/=x11term.h @@ -13,11 +13,12 @@ #define BLOCK_INPUT_DECLARE() int BLOCK_INPUT_mask #ifdef SIGIO -#define BLOCK_INPUT() BLOCK_INPUT_mask = sigblock (sigmask (SIGIO)) -#define UNBLOCK_INPUT() sigsetmask (BLOCK_INPUT_mask) +#define BLOCK_INPUT() EMACS_SIGBLOCKX (SIGIO, BLOCK_INPUT_mask) +#define UNBLOCK_INPUT() \ + do { int _dummy; EMACS_SIGSETMASK (BLOCK_INPUT_mask, _dummy); } while (0) #else /* not SIGIO */ #define BLOCK_INPUT() #define UNBLOCK_INPUT() #endif /* SIGIO */ -#define CLASS "emacs" /* class id for GNU Emacs, used in .Xdefaults, etc. */ +#define CLASS "Emacs" /* class id for GNU Emacs, used in .Xdefaults, etc. */ |