Fixing compilation under MSVC

svn-id: r33610
This commit is contained in:
Filippos Karapetis 2008-08-04 15:01:41 +00:00
parent 05968b18c9
commit 2efe13026d
2 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,10 @@
#include "common/config-manager.h"
#include "common/events.h"
#include "common/file.h"
#if defined(WIN32) && defined(ARRAYSIZE)
// winnt.h defines ARRAYSIZE, but we want our own one... - this is needed before including util.h
#undef ARRAYSIZE
#endif
#include "common/util.h"
#include "backends/saves/default/default-saves.h"

View File

@ -29,6 +29,10 @@
#include "common/config-manager.h"
#include "common/system.h"
#include "common/timer.h"
#if defined(WIN32) && defined(ARRAYSIZE)
// winnt.h defines ARRAYSIZE, but we want our own one... - this is needed before including util.h
#undef ARRAYSIZE
#endif
#include "common/util.h"
#include "graphics/colormasks.h"