From 785881c90ed88f99229a427e2c804efaee5b8b6b Mon Sep 17 00:00:00 2001 From: Alug Date: Thu, 28 Mar 2024 12:23:07 +0100 Subject: [PATCH] fixeur compile for qt --- src/sdl/i_system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl/i_system.c b/src/sdl/i_system.c index 2f5a4a376..08a38eb93 100644 --- a/src/sdl/i_system.c +++ b/src/sdl/i_system.c @@ -41,12 +41,12 @@ typedef DWORD (WINAPI *p_timeGetTime) (void); typedef UINT (WINAPI *p_timeEndPeriod) (UINT); typedef HANDLE (WINAPI *p_OpenFileMappingA) (DWORD, BOOL, LPCSTR); typedef LPVOID (WINAPI *p_MapViewOfFile) (HANDLE, DWORD, DWORD, DWORD, SIZE_T); -#endif // This is for RtlGenRandom. #define SystemFunction036 NTAPI SystemFunction036 #include #undef SystemFunction036 +#endif // A little more than the minimum sleep duration on Windows. // May be incorrect for other platforms, but we don't currently have a way to