summaryrefslogtreecommitdiffstats
path: root/old-configure
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-19 21:31:27 +0100
committerwm4 <wm4@nowhere>2013-12-19 21:31:27 +0100
commit25d4ae74f1dbddf99b147df0887d6810d34e36dd (patch)
tree02e0d851e5aa1a70c1e528caec1aeeb6a6620076 /old-configure
parent8c7ea10873ced7c4e0344d942be4792e9d7a2801 (diff)
downloadmpv-25d4ae74f1dbddf99b147df0887d6810d34e36dd.tar.bz2
mpv-25d4ae74f1dbddf99b147df0887d6810d34e36dd.tar.xz
Rename getch2....c/h to terminal....c/h
"getch2" really tells nothing about what the heck this code does. It'd be even worse when moving the rest of terminal handling code there.
Diffstat (limited to 'old-configure')
-rwxr-xr-xold-configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/old-configure b/old-configure
index e323c93a6a..f4baba7ee1 100755
--- a/old-configure
+++ b/old-configure
@@ -876,7 +876,7 @@ fi
extra_cflags="-I. -D_GNU_SOURCE $extra_cflags"
_timer=timer-linux.c
-_getch=getch2.c
+_getch=terminal-unix.c
if freebsd || openbsd ; then
extra_ldflags="$extra_ldflags -L/usr/local/lib"
@@ -908,7 +908,7 @@ if win32 ; then
fi
if mingw32 ; then
- _getch=getch2-win.c
+ _getch=terminal-win.c
extra_cflags="$extra_cflags -D__USE_MINGW_ANSI_STDIO=1"
# Hack for missing BYTE_ORDER declarations in <sys/types.h>.
# (For some reason, they are in <sys/param.h>, but we don't bother switching