X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/73d5358fb91d80ebe3cb39d5193c3ed5f335165a..8a1bbe07a8148ac73f77fd47ad256bf55214f83b:/src/sysdep.c diff --git a/src/sysdep.c b/src/sysdep.c index 3de75eb6dc..a9f6b3150f 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -125,6 +125,7 @@ extern int errno; #ifdef BROKEN_TIOCGWINSZ #undef TIOCGWINSZ +#undef TIOCSWINSZ #endif #ifdef USG @@ -133,7 +134,7 @@ extern int errno; #ifndef MEMORY_IN_STRING_H #include #endif -#ifdef TIOCGWINSZ +#if defined (TIOCGWINSZ) || defined (ISC4_0) #ifdef NEED_SIOCTL #include #endif @@ -141,7 +142,7 @@ extern int errno; #include #include #endif -#endif /* TIOCGWINSZ */ +#endif /* TIOCGWINSZ or ISC4_0 */ #endif /* USG */ extern int quit_char; @@ -697,11 +698,11 @@ sys_subshell () close_process_descs (); /* Close Emacs's pipes/ptys */ #endif -#ifdef PRIO_PROCESS +#ifdef SET_EMACS_PRIORITY { extern int emacs_priority; - if (emacs_priority) + if (emacs_priority < 0) nice (-emacs_priority); } #endif @@ -2935,8 +2936,12 @@ char *sys_siglist[NSIG + 1] = "exceeded file size limit", /* 31 SIGXFSZ */ "process's lwps are blocked", /* 32 SIGWAITING */ "special signal used by thread library", /* 33 SIGLWP */ +#ifdef SIGFREEZE "Special Signal Used By CPR", /* 34 SIGFREEZE */ +#endif +#ifdef SIGTHAW "Special Signal Used By CPR", /* 35 SIGTHAW */ +#endif #endif /* sun */ #endif /* not AIX */ 0