From 09b4f7cbed4f258a00822f2b135df475f6e1b398 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 26 Jun 2010 21:55:52 +0000 Subject: Define WIN32_LEAN_AND_MEAN before including windows.h. This will cause our code to include less functionality, but might on the other hand fasten up the compilation. svn-id: r50346 --- backends/platform/sdl/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'backends/platform/sdl/main.cpp') diff --git a/backends/platform/sdl/main.cpp b/backends/platform/sdl/main.cpp index 13e614a4a2..52bbb59165 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 // winnt.h defines ARRAYSIZE, but we want our own one... #undef ARRAYSIZE -- cgit v1.2.3