Add support for shared libraries with OS/2.
[oweals/openssl.git] / crypto / ui / ui_openssl.c
index 3aa03f74aaef51927346f21b7852c4d2ee5085ab..2c2fbc044395ba712976aec977b99fba97790e0e 100644 (file)
@@ -269,7 +269,7 @@ static long tty_orig[3], tty_new[3]; /* XXX   Is there any guarantee that this w
 static long status;
 static unsigned short channel = 0;
 #else
-#ifndef OPENSSL_SYS_MSDOS
+#if !defined(OPENSSL_SYS_MSDOS) || defined(__DJGPP__)
 static TTY_STRUCT tty_orig,tty_new;
 #endif
 #endif
@@ -465,7 +465,7 @@ static int open_console(UI *ui)
                tty_out=stderr;
 #endif
 
-#if defined(TTY_get) && !defined(VMS)
+#if defined(TTY_get) && !defined(OPENSSL_SYS_VMS)
        if (TTY_get(fileno(tty_in),&tty_orig) == -1)
                {
 #ifdef ENOTTY