From b44324147d62492c5b310974fd997214d4e210e5 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 19 Aug 2015 13:47:15 -0400 Subject: [PATCH] reduced the compiler errors if building without ATL --- Source/Project64/N64 System/Mips/Memory Class.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Source/Project64/N64 System/Mips/Memory Class.h b/Source/Project64/N64 System/Mips/Memory Class.h index 8be3c994b..d2416838d 100644 --- a/Source/Project64/N64 System/Mips/Memory Class.h +++ b/Source/Project64/N64 System/Mips/Memory Class.h @@ -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