windows.h needs to be included before sdl.h, to avoid redefinition of ARRAYSIZE

svn-id: r28522
This commit is contained in:
Filippos Karapetis 2007-08-11 11:31:31 +00:00
parent b755d15397
commit 156fa8e84f

View file

@ -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