summaryrefslogtreecommitdiffstats
path: root/crypto/ui
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-02-14 15:37:38 +0000
committerRichard Levitte <levitte@openssl.org>2002-02-14 15:37:38 +0000
commit3e83e686ba2e21a2d7d991446bc6fedde5ff58c0 (patch)
treed8330c1735352c6b85a98a49ef79c97dbd096290 /crypto/ui
parent8f06b003736c957c6e693d3b5dd1393f91a530cd (diff)
Add the configuration target VxWorks.
Diffstat (limited to 'crypto/ui')
-rw-r--r--crypto/ui/ui_openssl.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c
index 95e0b6e921..3aa03f74aa 100644
--- a/crypto/ui/ui_openssl.c
+++ b/crypto/ui/ui_openssl.c
@@ -191,6 +191,12 @@
# define SGTTY
#endif
+#if defined(OPENSSL_SYS_VSWORKS)
+#undef TERMIOS
+#undef TERMIO
+#undef SGTTY
+#endif
+
#ifdef TERMIOS
# include <termios.h>
# define TTY_STRUCT struct termios
@@ -444,7 +450,7 @@ static int open_console(UI *ui)
CRYPTO_w_lock(CRYPTO_LOCK_UI);
is_a_tty = 1;
-#if defined(OPENSSL_SYS_MACINTOSH_CLASSIC)
+#if defined(OPENSSL_SYS_MACINTOSH_CLASSIC) || defined(OPENSSL_SYS_VSWORKS)
tty_in=stdin;
tty_out=stderr;
#else