OpenBSD fixes for lib/DtTerm: values.h, #ifdef's and some constants that are not defined on BSD. Also, leave out utmp stuff that does not work on BSD. Note that this terminal allocation does not work properly yet, but this will be fixed later.
This commit is contained in:
committed by
Jon Trulson
parent
f5a8836bff
commit
19647809e4
@@ -96,6 +96,12 @@
|
||||
# define USE_TCSENDBREAK /* use tiocbreak() */
|
||||
#endif /* LINUX_ARCHITECTURE */
|
||||
|
||||
#ifdef OPENBSD_ARCHITECTURE
|
||||
# define HAS_SETEUID /* seteuid available */
|
||||
# define HAS_SETREUID /* setreuid available */
|
||||
# define USE_TCSENDBREAK /* use tiocbreak() */
|
||||
#endif /* OPENBSD_ARCHITECTURE */
|
||||
|
||||
#ifdef SUN_ARCHITECTURE
|
||||
# define XOR_CAPS_LOCK /* xor caps lock and shift */
|
||||
# define USE_SRIOCSREDIR /* use SRIOCSREDIR ioctl for -C */
|
||||
|
||||
Reference in New Issue
Block a user