reduced the compiler errors if building without ATL

This commit is contained in:
unknown 2015-08-19 13:47:15 -04:00
parent a880e37ff7
commit b44324147d
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