summaryrefslogtreecommitdiff
path: root/src/syssignal.h
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2010-05-03 21:00:10 -0700
committerDan Nicolaescu <dann@ics.uci.edu>2010-05-03 21:00:10 -0700
commitef03a4e61efa0003b1b6be961b58297ccfddc664 (patch)
tree9a644546e94468429dfac802c3f885cdfa886d08 /src/syssignal.h
parentede4834a2f3f657ff79a730b52605ad8d3ef533e (diff)
downloademacs-ef03a4e61efa0003b1b6be961b58297ccfddc664.tar.gz
Remove POSIX_SIGNALS.
* s/usg5-4.h (POSIX_SIGNALS): * s/netbsd.h (POSIX_SIGNALS): * s/msdos.h (POSIX_SIGNALS): * s/ms-w32.h (POSIX_SIGNALS): * s/hpux11.h (POSIX_SIGNALS): * s/gnu.h (POSIX_SIGNALS): * s/gnu-linux.h (POSIX_SIGNALS): * s/freebsd.h (POSIX_SIGNALS): * s/darwin.h (POSIX_SIGNALS): * s/cygwin.h (POSIX_SIGNALS): * s/aix4-2.h (POSIX_SIGNALS): Remove definition. * s/unixware.h: * s/sol2-6.h: Remove comments on POSIX_SIGNALS. * process.c (create_process): * syssignal.h: * sysdep.c (wait_for_termination, init_signals): * process.c (create_process): * msdos.c: POSIX_SIGNALS is always defined on all platforms, remove all code that assumes the contrary.
Diffstat (limited to 'src/syssignal.h')
-rw-r--r--src/syssignal.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/syssignal.h b/src/syssignal.h
index f435d338594..9a145b78cb1 100644
--- a/src/syssignal.h
+++ b/src/syssignal.h
@@ -30,8 +30,6 @@ extern void init_signals P_ ((void));
extern pthread_t main_thread;
#endif
-#ifdef POSIX_SIGNALS
-
/* Don't #include <signal.h>. That header should always be #included
before "config.h", because some configuration files (like s/hpux.h)
indicate that SIGIO doesn't work by #undef-ing SIGIO. If this file
@@ -87,15 +85,6 @@ sigset_t sys_sigsetmask P_ ((sigset_t new_mask));
#define sys_sigdel(MASK,SIG) sigdelset (&MASK,SIG)
-#else /* ! defined (POSIX_SIGNALS) */
-
-#ifndef sigunblock
-#define sigunblock(SIG) \
-{ SIGMASKTYPE omask = sigblock (SIGEMPTYMASK); sigsetmask (omask & ~SIG); }
-#endif
-
-#endif /* ! defined (POSIX_SIGNALS) */
-
#ifndef SIGMASKTYPE
#define SIGMASKTYPE int
#endif