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 ARRAYSIZE
|
||||
#undef ARRAYSIZE
|
||||
#endif
|
||||
#ifdef _WIN32_WCE
|
||||
#include <windows.h>
|
||||
// winnt.h defines ARRAYSIZE, but we want our own one...
|
||||
#undef ARRAYSIZE
|
||||
#undef GetCurrentDirectory
|
||||
#endif
|
||||
#include "backends/fs/abstract-fs.h"
|
||||
|
@ -34,6 +39,8 @@
|
|||
#include <stdlib.h>
|
||||
#ifndef _WIN32_WCE
|
||||
#include <windows.h>
|
||||
// winnt.h defines ARRAYSIZE, but we want our own one...
|
||||
#undef ARRAYSIZE
|
||||
#endif
|
||||
#include <tchar.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue