From 928535a828ad10c2fe76c440224246c40bdfba0c Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 14 Nov 2024 16:39:38 +0100 Subject: [PATCH] Commented code issuing warnings on w64devkit (GCC) Tested with w64devkit/MSVC and all seem to work as expected --- src/platforms/rcore_desktop_glfw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/platforms/rcore_desktop_glfw.c b/src/platforms/rcore_desktop_glfw.c index 061fe72c..baf2967f 100644 --- a/src/platforms/rcore_desktop_glfw.c +++ b/src/platforms/rcore_desktop_glfw.c @@ -66,9 +66,9 @@ #if defined(SUPPORT_WINMM_HIGHRES_TIMER) && !defined(SUPPORT_BUSY_WAIT_LOOP) // NOTE: Those functions require linking with winmm library - #pragma warning(disable: 4273) - unsigned int __stdcall timeEndPeriod(unsigned int uPeriod); - #pragma warning(default: 4273) + //#pragma warning(disable: 4273) + __declspec(dllimport) unsigned int __stdcall timeEndPeriod(unsigned int uPeriod); + //#pragma warning(default: 4273) #endif #endif #if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__)