Remove UXPDS support
This commit is contained in:
@@ -67,7 +67,7 @@ static char rcs_id[] = "$TOG: TermParse.c /main/3 1999/10/15 12:25:13 mgreess $"
|
||||
#include <values.h>
|
||||
#endif
|
||||
|
||||
#if defined(USL) || defined(__uxp__)
|
||||
#if defined(USL)
|
||||
#include <ctype.h>
|
||||
#include <wctype.h>
|
||||
#endif
|
||||
|
||||
@@ -106,10 +106,6 @@ LinkFile(TermPrimGetPty.c,TermPrimGetPty-svr4.c)
|
||||
LinkFile(TermPrimGetPty.c,TermPrimGetPty-svr4.c)
|
||||
#endif
|
||||
|
||||
#ifdef UXPArchitecture
|
||||
LinkFile(TermPrimGetPty.c,TermPrimGetPty-svr4.c)
|
||||
#endif
|
||||
|
||||
#ifdef BSDArchitecture
|
||||
LinkFile(TermPrimGetPty.c,TermPrimGetPty-bsd.c)
|
||||
#endif
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#include <Xm/Xm.h>
|
||||
#include <X11/Xos.h>
|
||||
|
||||
#if defined(linux) || defined(UXPArchitecture) || (defined(USL) && (OSMAJORVERSION > 1)) || defined(CSRG_BASED)
|
||||
#if defined(linux) || (defined(USL) && (OSMAJORVERSION > 1)) || defined(CSRG_BASED)
|
||||
#define _NFILE FOPEN_MAX
|
||||
#endif
|
||||
|
||||
|
||||
@@ -132,12 +132,5 @@
|
||||
# define USE_TCSENDBREAK /* use tiocbreak() */
|
||||
#endif /* USL_ARCHITECTURE */
|
||||
|
||||
#ifdef UXP_ARCHITECTURE
|
||||
# define XOR_CAPS_LOCK /* xor caps lock and shift */
|
||||
# define USE_STREAMS /* use streams */
|
||||
# define USE_STREAMS_TTCOMPAT /* use ttcompat streams mod */
|
||||
# define USE_TCSENDBREAK /* use tiocbreak() */
|
||||
#endif /* UXP_ARCHITECTURE */
|
||||
|
||||
#endif /* _Dt_TermPrimOSDepI_h */
|
||||
/* DON'T ADD ANYTHING AFTER THIS #endif... */
|
||||
|
||||
@@ -390,14 +390,14 @@ UtmpEntryCreate(Widget w, pid_t pid, char *utmpLine)
|
||||
(void) strncpy(utPtr->ut_id, utmpLine,
|
||||
sizeof(utPtr->ut_id));
|
||||
#else /* __AIX || __osf__ */
|
||||
#if defined(linux) || defined(sun) || defined(USL) || defined(__uxp__)
|
||||
#if defined(linux) || defined(sun) || defined(USL)
|
||||
if (c = strchr(utmpLine, '/')) {
|
||||
c++;
|
||||
} else {
|
||||
c = utmpLine;
|
||||
}
|
||||
(void) strncpy(utPtr->ut_id, c, sizeof(utPtr->ut_id));
|
||||
#else /* linux || sun || USL || __uxp__ */
|
||||
#else /* linux || sun || USL */
|
||||
error out -- missing code for utPtr->ut_id
|
||||
#endif /* sun */
|
||||
#endif /* __AIX || __osf__ */
|
||||
|
||||
Reference in New Issue
Block a user