]> git.eshelyaron.com Git - emacs.git/commitdiff
(sigprocmask_set): Conditionalize decl on ! NOT_C_CODE.
authorRichard M. Stallman <rms@gnu.org>
Sun, 30 Dec 2001 22:40:16 +0000 (22:40 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 30 Dec 2001 22:40:16 +0000 (22:40 +0000)
(sigprocmask_set): Declare as extern SIGMASKTYPE.
(SIGMASKTYPE): Define.

src/s/sco5.h

index 418efaf75ab5acb03276de4bc59cb741873834c6..5eea7955ee58926c6f2aff4e49c5bfde06b20a52 100644 (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))