blob: 04484992664d8a831f2d9f7687ab00b78044110d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- crypto/ui/ui_openssl.c.orig 2017-11-23 13:22:15.760078583 +0000
+++ crypto/ui/ui_openssl.c 2017-11-23 13:21:40.534382076 +0000
@@ -99,6 +99,18 @@
#endif
+#if defined(OPENSSL_SYS_AMIGAOS3)
+#undef TERMIOS
+#undef TERMIO
+#undef SGTTY
+struct termios { int foo; };
+# define TTY_STRUCT struct termios
+# define TTY_FLAGS foo
+# define TTY_get(tty,data) /* tcgetattr(tty,data) */ -1
+# define TTY_set(tty,data) /* tcsetattr(tty,TCSANOW,data) */ 0
+# define ECHO 0
+#endif
+
#ifdef TERMIOS
# include <termios.h>
# define TTY_STRUCT struct termios
|