adding changes to make xmlterm build on hpux11

r= svn@xmlterm.org
# 54160


git-svn-id: svn://10.0.0.236/trunk@91446 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jdunn%netscape.com
2001-04-05 11:03:15 +00:00
parent daf5e8dec2
commit fa68327632
3 changed files with 8 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ DIRS = base tests linetest
else # not STAND_ALONE
# XMLterm currently works on Linux and SunOS only (testing on BSD family)
ifneq (,$(filter Linux SunOS FreeBSD,$(OS_ARCH)))
ifneq (,$(filter Linux SunOS FreeBSD HP-UX,$(OS_ARCH)))
DIRS = base ui scripts doc tests
else # XMLterm not yet been ported to this platform; do nothing
DIRS =

View File

@@ -51,7 +51,7 @@
#include <sys/types.h>
#include <sys/fcntl.h>
#if defined(LINUX) || defined(BSDFAMILY)
#if defined(LINUX) || defined(BSDFAMILY) || defined(HPUX11)
#include <sys/ioctl.h>
#endif
@@ -438,6 +438,7 @@ static int setTTYAttr(int ttyFD, int noecho)
pty_error("setTTYattr: Failed to get TTY attributes", NULL);
return -1;
}
memset(&tios, 0, sizeof(struct termios));
/* TERMIOS settings for TTY */
tios.c_cc[VINTR] = C_CTL_C;
@@ -453,8 +454,10 @@ static int setTTYAttr(int ttyFD, int noecho)
tios.c_cc[VSTART] = C_CTL_Q;
tios.c_cc[VSTOP] = C_CTL_S;
tios.c_cc[VSUSP] = C_CTL_Z;
#ifndef HPUX11
tios.c_cc[VREPRINT] = C_CTL_R;
tios.c_cc[VDISCARD] = C_CTL_O;
#endif /* !HPUX11 */
tios.c_cc[VWERASE] = C_CTL_W;
tios.c_cc[VLNEXT] = C_CTL_V;

View File

@@ -52,7 +52,10 @@
#include <ncurses.h>
#endif
#ifndef _REENTRANT
#define _REENTRANT
#endif /* !_REENTRANT */
#include <pthread.h>
#ifdef SOLARIS