Stop redefinitions of ARRAYSIZE
svn-id: r30954
This commit is contained in:
parent
622076e15b
commit
dbba13a7ac
1 changed files with 7 additions and 0 deletions
|
@ -24,8 +24,13 @@
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
|
|
||||||
|
#ifdef ARRAYSIZE
|
||||||
|
#undef ARRAYSIZE
|
||||||
|
#endif
|
||||||
#ifdef _WIN32_WCE
|
#ifdef _WIN32_WCE
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
// winnt.h defines ARRAYSIZE, but we want our own one...
|
||||||
|
#undef ARRAYSIZE
|
||||||
#undef GetCurrentDirectory
|
#undef GetCurrentDirectory
|
||||||
#endif
|
#endif
|
||||||
#include "backends/fs/abstract-fs.h"
|
#include "backends/fs/abstract-fs.h"
|
||||||
|
@ -34,6 +39,8 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#ifndef _WIN32_WCE
|
#ifndef _WIN32_WCE
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
// winnt.h defines ARRAYSIZE, but we want our own one...
|
||||||
|
#undef ARRAYSIZE
|
||||||
#endif
|
#endif
|
||||||
#include <tchar.h>
|
#include <tchar.h>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue