From 49f076d86dc8b9b451861c9a2a3c1726420a0914 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 26 Nov 2013 00:31:46 +0100 Subject: [PATCH] build: make cygwin use *nix timers --- mpvcore/player/main.c | 2 +- wscript_build.py | 1 - 2 files changed, 1 insertion(+), 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")