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

pull/444/head
RaptorFactor 2017-03-25 23:14:12 -07:00 committed by Marcel Raad
parent b976663016
commit 3af4765e15
No known key found for this signature in database
GPG Key ID: 33C416EFAE4D6F02
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
if (IsDebuggerPresent())
{