Explorar o código

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

Ozkan Sezer %!s(int64=2) %!d(string=hai) anos
pai
achega
202eaeea11
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/timer/SDL_timer.c

+ 1 - 1
src/timer/SDL_timer.c

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