mirror of
https://github.com/mpv-player/mpv
synced 2025-01-14 02:51:26 +00:00
build: make cygwin use *nix timers
This commit is contained in:
parent
58bf7fd1f3
commit
49f076d86d
@ -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
|
||||
|
||||
|
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user