Fix linking of fipstest for MSVC targeting ARM (__crt_debugger_hook is not available).

pull/397/head
RaptorFactor 2017-03-25 23:14:12 -07:00
parent 9b1d4c4c7d
commit 095740c1fe
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ bool IntegrityCheckModule(const char *moduleFilename, const byte *expectedModule
} }
} }
#if defined(_MSC_VER) && _MSC_VER >= 1400 #if defined(_MSC_VER) && _MSC_VER >= 1400 && !defined(_M_ARM)
// first byte of _CRT_DEBUGGER_HOOK gets modified in memory by the debugger invisibly, so read it from file // first byte of _CRT_DEBUGGER_HOOK gets modified in memory by the debugger invisibly, so read it from file
if (IsDebuggerPresent()) if (IsDebuggerPresent())
{ {