replace windows timeapi.h with mmsystem.h for better compatibility.

main
Ozkan Sezer 2022-12-04 12:50:04 +03:00
parent 36a43eac00
commit 202eaeea11
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ static Uint64 tick_freq;
#if defined(SDL_TIMER_WINDOWS) && \
!defined(__WINRT__) && !defined(__XBOXONE__) && !defined(__XBOXSERIES__)
#include <timeapi.h>
#include <mmsystem.h>
#define HAVE_TIME_BEGIN_PERIOD
#endif