diff options
author | Filippos Karapetis | 2007-08-11 11:31:31 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-08-11 11:31:31 +0000 |
commit | 156fa8e84f7848a86daf50eb1b2932f1a19e6408 (patch) | |
tree | af545e80295ee950ee98d1025503d72c734fe671 | |
parent | b755d15397b7cfa315b13f84efe9df93de20f734 (diff) | |
download | scummvm-rg350-156fa8e84f7848a86daf50eb1b2932f1a19e6408.tar.gz scummvm-rg350-156fa8e84f7848a86daf50eb1b2932f1a19e6408.tar.bz2 scummvm-rg350-156fa8e84f7848a86daf50eb1b2932f1a19e6408.zip |
windows.h needs to be included before sdl.h, to avoid redefinition of ARRAYSIZE
svn-id: r28522
-rw-r--r-- | backends/platform/sdl/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/sdl/main.cpp b/backends/platform/sdl/main.cpp index 4ef41d99f2..eab686ed13 100644 --- a/backends/platform/sdl/main.cpp +++ b/backends/platform/sdl/main.cpp @@ -23,15 +23,15 @@ * */ -#include "backends/platform/sdl/sdl.h" -#include "base/main.h" - #if defined(WIN32) #include <windows.h> // winnt.h defines ARRAYSIZE, but we want our own one... #undef ARRAYSIZE #endif +#include "backends/platform/sdl/sdl.h" +#include "base/main.h" + #if defined(__SYMBIAN32__) #include "SymbianOs.h" #endif |