1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-18 07:16:23 -05:00

Remove __hpux from conditional compilation.

This commit is contained in:
Renaud 2019-08-07 13:17:26 +08:00
parent bc11a0c913
commit 8c1a8f16bf
5 changed files with 7 additions and 7 deletions

View File

@ -172,7 +172,7 @@ struct key_tab keytab[NBINDS] = {
, ,
{CTLX | 'C', spawncli} {CTLX | 'C', spawncli}
, ,
#if BSD | __hpux | SVR4 #if BSD | SVR4
{CTLX | 'D', bktoshell} {CTLX | 'D', bktoshell}
, ,
#endif #endif

View File

@ -38,7 +38,7 @@
#undef BSD #undef BSD
#endif #endif
#if defined(SYSV) || defined(u3b2) || defined(_AIX) || (defined(i386) && defined(unix)) || defined(__hpux) || defined( __unix__) #if defined(SYSV) || defined(u3b2) || defined(_AIX) || (defined(i386) && defined(unix)) || defined( __unix__)
#define USG 1 /* System V UNIX */ #define USG 1 /* System V UNIX */
#else #else
#define USG 0 #define USG 0

View File

@ -214,7 +214,7 @@ struct name_bind names[] = {
#if PROC #if PROC
{"store-procedure", storeproc}, {"store-procedure", storeproc},
#endif #endif
#if BSD | __hpux | SVR4 #if BSD | SVR4
{"suspend-emacs", bktoshell}, {"suspend-emacs", bktoshell},
#endif #endif
{"transpose-characters", (fn_t) twiddle}, {"transpose-characters", (fn_t) twiddle},

View File

@ -79,7 +79,7 @@ int spawncli(int f, int n)
#endif #endif
} }
#if BSD | __hpux | SVR4 #if BSD | SVR4
int bktoshell(int f, int n) int bktoshell(int f, int n)
{ /* suspend MicroEMACS and wait to wake up */ { /* suspend MicroEMACS and wait to wake up */

View File

@ -72,7 +72,7 @@ char tobuf[TBUFSIZ]; /* terminal output buffer */
#endif #endif
#endif #endif
#if __hpux | SVR4 #if SVR4
extern int rtfrmshell(); /* return from suspended shell */ extern int rtfrmshell(); /* return from suspended shell */
#define TBUFSIZ 128 #define TBUFSIZ 128
char tobuf[TBUFSIZ]; /* terminal output buffer */ char tobuf[TBUFSIZ]; /* terminal output buffer */
@ -130,14 +130,14 @@ void ttopen(void)
#endif #endif
#endif #endif
#if __hpux | SVR4 #if SVR4
/* provide a smaller terminal output buffer so that /* provide a smaller terminal output buffer so that
the type ahead detection works better (more often) */ the type ahead detection works better (more often) */
setvbuf(stdout, &tobuf[0], _IOFBF, TBUFSIZ); setvbuf(stdout, &tobuf[0], _IOFBF, TBUFSIZ);
signal(SIGTSTP, SIG_DFL); /* set signals so that we can */ signal(SIGTSTP, SIG_DFL); /* set signals so that we can */
signal(SIGCONT, rtfrmshell); /* suspend & restart emacs */ signal(SIGCONT, rtfrmshell); /* suspend & restart emacs */
TTflush(); TTflush();
#endif /* __hpux */ #endif
/* on all screens we are not sure of the initial position /* on all screens we are not sure of the initial position
of the cursor */ of the cursor */