From a284523f9eadeb331ed23ba3ea51baa01aca0cea Mon Sep 17 00:00:00 2001 From: Pannoniae <25565223+Pannoniae@users.noreply.github.com> Date: Sat, 9 Aug 2025 14:45:08 +0100 Subject: [PATCH] fix MinGW build --- src/win32_window.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/win32_window.c b/src/win32_window.c index ff591440..0eebcf01 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -43,6 +43,11 @@ typedef UINT64 QWORD; // Needed for NEXTRAWINPUTBLOCK() #endif +#ifndef RI_MOUSE_HWHEEL +// MinGW may not have the define for RI_MOUSE_HWHEEL +#define RI_MOUSE_HWHEEL 0x0800 +#endif + // Returns the window style for the specified window //