diff options
-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") |