diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-11-26 00:31:46 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-11-26 00:33:40 +0100 |
commit | 49f076d86dc8b9b451861c9a2a3c1726420a0914 (patch) | |
tree | 12134535d3dc840a5e9e521c8e6916abe79eb7e1 | |
parent | 58bf7fd1f31f185f8ab89102e8173901ce0f22b5 (diff) | |
download | mpv-49f076d86dc8b9b451861c9a2a3c1726420a0914.tar.bz2 mpv-49f076d86dc8b9b451861c9a2a3c1726420a0914.tar.xz |
build: make cygwin use *nix timers
-rw-r--r-- | mpvcore/player/main.c | 2 | ||||
-rw-r--r-- | wscript_build.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/mpvcore/player/main.c b/mpvcore/player/main.c index c1c25bce27..59eadfd676 100644 --- a/mpvcore/player/main.c +++ b/mpvcore/player/main.c @@ -121,7 +121,7 @@ static MP_NORETURN void exit_player(struct MPContext *mpctx, mp_lua_uninit(mpctx); #endif -#if defined(__MINGW32__) || defined(__CYGWIN__) +#if defined(__MINGW32__) timeEndPeriod(1); #endif diff --git a/wscript_build.py b/wscript_build.py index 58a2e29039..55c2f6bfef 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -96,7 +96,6 @@ def build(ctx): timer_c = { 'win32': 'osdep/timer-win2.c', - 'cygwin': 'osdep/timer-win2.c', 'darwin': 'osdep/timer-darwin.c', }.get(ctx.env.DEST_OS, "osdep/timer-linux.c") |