mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-27 10:57:22 +08:00
replace windows timeapi.h with mmsystem.h for better compatibility.
This commit is contained in:
@@ -475,7 +475,7 @@ static Uint64 tick_freq;
|
|||||||
|
|
||||||
#if defined(SDL_TIMER_WINDOWS) && \
|
#if defined(SDL_TIMER_WINDOWS) && \
|
||||||
!defined(__WINRT__) && !defined(__XBOXONE__) && !defined(__XBOXSERIES__)
|
!defined(__WINRT__) && !defined(__XBOXONE__) && !defined(__XBOXSERIES__)
|
||||||
#include <timeapi.h>
|
#include <mmsystem.h>
|
||||||
#define HAVE_TIME_BEGIN_PERIOD
|
#define HAVE_TIME_BEGIN_PERIOD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user