From e4089fe9e416064c0e3fa86acb2e3bdbd73257e1 Mon Sep 17 00:00:00 2001 From: Jeffery Myers Date: Sun, 27 Oct 2024 10:17:14 -0700 Subject: [PATCH] Fix inconsistent dll linkage warning on windows --- src/platforms/rcore_desktop_glfw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platforms/rcore_desktop_glfw.c b/src/platforms/rcore_desktop_glfw.c index 41f7fac39a1b..b6097981fb8f 100644 --- a/src/platforms/rcore_desktop_glfw.c +++ b/src/platforms/rcore_desktop_glfw.c @@ -65,8 +65,9 @@ #if defined(SUPPORT_WINMM_HIGHRES_TIMER) && !defined(SUPPORT_BUSY_WAIT_LOOP) // NOTE: Those functions require linking with winmm library - unsigned int __stdcall timeBeginPeriod(unsigned int uPeriod); +#pragma warning( disable : 4273 ) unsigned int __stdcall timeEndPeriod(unsigned int uPeriod); +#pragma warning(default : 4273) #endif #endif #if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__)