build: make cygwin use *nix timers

This commit is contained in:
Stefano Pigozzi 2013-11-26 00:31:46 +01:00
parent 58bf7fd1f3
commit 49f076d86d
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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")