summaryrefslogtreecommitdiff
path: root/app-editors/levee/files/levee-3.4o-darwin.patch
blob: 0af6f799496642e4c537af051ffeb4592c2fbd8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/unixcall.c
+++ b/unixcall.c
@@ -77,6 +77,13 @@
 static int ioset = 0;
 static struct termios old;
 
+#if defined(__MACH__)
+# define TCGETS TIOCGETA
+# define TCSETS TIOCSETA
+# define TCGETA TIOCGETA
+# define TCSETAF TIOCSETAF
+#endif
+
 void
 initcon()
 {