aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/sol2-6.h
diff options
context:
space:
mode:
authorDan Nicolaescu <[email protected]>2010-03-20 00:09:31 -0700
committerDan Nicolaescu <[email protected]>2010-03-20 00:09:31 -0700
commit2968f56146eac37708de08f30a58d662ce5f037f (patch)
tree0fd614eee20ca2fe7be7e63d911e1bb93cd6099a /src/s/sol2-6.h
parent15d25dc050dfda37f71813eb043826cef99b8dcc (diff)
Consolidate redundant definitions.
* s/usg5-4.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not define, it's undefined in all files that include this one. (POSIX_SIGNALS): Define here instead of doing it in all files that include this one. * s/irix6-5.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef. (POSIX_SIGNALS): Do not define. * s/sol2-6.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef. (POSIX_SIGNALS): Do not define. * s/unixware.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef. (POSIX_SIGNALS): Do not define.
Diffstat (limited to 'src/s/sol2-6.h')
-rw-r--r--src/s/sol2-6.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/s/sol2-6.h b/src/s/sol2-6.h
index 233f38a7b3..8cd0151187 100644
--- a/src/s/sol2-6.h
+++ b/src/s/sol2-6.h
@@ -53,12 +53,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define C_DEBUG_SWITCH -g -O
#endif /* GCC */
-/* Info from [email protected] suggests this is appropriate. */
-#define POSIX_SIGNALS
-
-/* We don't need the definition from usg5-4.h with POSIX_SIGNALS. */
-#undef sigsetmask
-
/* This is the same definition as in usg5-4.h, but with sigblock/sigunblock
rather than sighold/sigrelse, which appear to be BSD4.1 specific and won't
work if POSIX_SIGNALS is defined. It may also be appropriate for SVR4.x
@@ -68,7 +62,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
intercepting that death. If any child but grantpt's should die
within, it should be caught after sigrelse(2). */
-#undef PTY_TTY_NAME_SPRINTF
#define PTY_TTY_NAME_SPRINTF \
{ \
char *ptsname (), *ptyname; \