Merge pull request #565 from cxd4/vs-express-testing

reduced the compiler errors if building w/ VS2008 Express
This commit is contained in:
zilmar 2015-08-20 06:43:37 +10:00
commit 7a2218dfd6
1 changed files with 9 additions and 0 deletions

View File

@ -10,6 +10,15 @@
****************************************************************************/
#pragma once
/*
* If compiling without ATL included, MSVC could mis-treat `interface` as a
* built-in keyword, but what we want essentially is a structure.
*/
//#undef interface
#ifndef interface
#define interface struct
#endif
interface CMipsMemory_CallBack
{
//Protected memory has been written to, returns true if that memory has been unprotected