From 7f7cf7f482aa51a953a725c6cd8a61b91d2009f3 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Tue, 9 Jul 2024 09:00:33 +0200 Subject: [PATCH] Fix build error on 32bit Windows --- extras/videoDrivers/SDL2/VideoSDL2.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extras/videoDrivers/SDL2/VideoSDL2.cpp b/extras/videoDrivers/SDL2/VideoSDL2.cpp index 28b535d6a..4fa0b49aa 100644 --- a/extras/videoDrivers/SDL2/VideoSDL2.cpp +++ b/extras/videoDrivers/SDL2/VideoSDL2.cpp @@ -19,6 +19,10 @@ #ifdef _WIN32 # include +# ifndef WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +# endif +# include // Avoid "Windows headers require the default packing option" due to SDL2 # include #endif // _WIN32