de23c20e9b
All these changes are already in mplayer's repository. Patches provided by Joerg Sonnenberger in private mail.
29 lines
1.5 KiB
Text
29 lines
1.5 KiB
Text
--- osdep/getch2.c.orig 2005-05-20 20:17:34.000000000 +0200
|
|
+++ osdep/getch2.c 2005-05-20 20:17:57.000000000 +0200
|
|
@@ -220,7 +220,7 @@
|
|
struct termios tio_new;
|
|
#if defined(__NetBSD__) || defined(__svr4__) || defined(__CYGWIN__) || defined(__OS2__) || defined(__GLIBC__)
|
|
tcgetattr(0,&tio_orig);
|
|
-#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__)
|
|
+#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) || defined(__DragonFly__)
|
|
ioctl(0,TIOCGETA,&tio_orig);
|
|
#else
|
|
ioctl(0,TCGETS,&tio_orig);
|
|
@@ -231,7 +231,7 @@
|
|
tio_new.c_cc[VTIME] = 0;
|
|
#if defined(__NetBSD__) || defined(__svr4__) || defined(__CYGWIN__) || defined(__OS2__) || defined(__GLIBC__)
|
|
tcsetattr(0,TCSANOW,&tio_new);
|
|
-#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__)
|
|
+#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) || defined(__DragonFly__)
|
|
ioctl(0,TIOCSETA,&tio_new);
|
|
#else
|
|
ioctl(0,TCSETS,&tio_new);
|
|
@@ -245,7 +245,7 @@
|
|
#ifdef HAVE_TERMIOS
|
|
#if defined(__NetBSD__) || defined(__svr4__) || defined(__CYGWIN__) || defined(__OS2__) || defined(__GLIBC__)
|
|
tcsetattr(0,TCSANOW,&tio_orig);
|
|
-#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__)
|
|
+#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) || defined(__DragonFly__)
|
|
ioctl(0,TIOCSETA,&tio_orig);
|
|
#else
|
|
ioctl(0,TCSETS,&tio_orig);
|