aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/sdl/main.cpp')
-rw-r--r--backends/platform/sdl/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/platform/sdl/main.cpp b/backends/platform/sdl/main.cpp
index b38b815438..ef95a6d256 100644
--- a/backends/platform/sdl/main.cpp
+++ b/backends/platform/sdl/main.cpp
@@ -28,6 +28,7 @@
// otherwise we will get errors about the windows headers redefining
// "ARRAYSIZE" for example.
#if defined(WIN32) && !defined(__SYMBIAN32__)
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
// winnt.h defines ARRAYSIZE, but we want our own one...
#undef ARRAYSIZE