summaryrefslogtreecommitdiff
path: root/converters/hztty/patches/patch-ac
blob: 5a2524f2ff6692d3e62cca7a9b7cc56ff273f7d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
$NetBSD: patch-ac,v 1.1 2005/01/19 16:11:41 tv Exp $

--- config.h.orig	2005-01-19 10:49:55.000000000 -0500
+++ config.h
@@ -28,13 +28,16 @@
 # define USE_SYS_UTMP
 # define USE_TERMIOS
 # define SYSV
-# ifndef sgi
+# if !defined(sgi) && !defined(__INTERIX)
 #  define ATT			/* no ATT for sgi */
 # endif
 # ifdef sun			/* Solaris 2 */
 #  include <sys/strredir.h>
 #  define HAS_UTMPX
 # endif
+# ifdef __INTERIX
+#  define HAS_UTMPX
+# endif
 #endif
 
 #ifdef	SYSV386
@@ -59,10 +62,12 @@
 # define USE_SYSV_TERMIO
 # ifndef _SEQUENT_
 #  define termio termios
+#  ifndef __INTERIX
 #  undef TCGETA
 #  define TCGETA TCGETS
 #  undef TCSETA
 #  define TCSETA TCSETS
+#  endif /* !__INTERIX */
 # endif /* _SEQUENT_ */
 #else /* USE_TERMIOS */
 # ifdef SYSV