diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-09-11 06:03:55 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-09-11 06:03:55 -0400 |
commit | 999090a3cad4b07d7e2ace847d0fac0535b47ef9 (patch) | |
tree | f58609721a572c2fb0275720c9f5f6e59325494f /fipstest.cpp | |
parent | afba9f4a87f4b333ed7094e269adb31e667c3220 (diff) | |
download | cryptopp-git-999090a3cad4b07d7e2ace847d0fac0535b47ef9.tar.gz |
Fix MSVC compile error with VS2019
Diffstat (limited to 'fipstest.cpp')
-rw-r--r-- | fipstest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fipstest.cpp b/fipstest.cpp index b52fde97..3e609f88 100644 --- a/fipstest.cpp +++ b/fipstest.cpp @@ -403,7 +403,7 @@ bool IntegrityCheckModule(const char *moduleFilename, const byte *expectedModule // Visual Studio 2019 is MSC_VER == 1920
// https://dev.to/yumetodo/list-of-mscver-and-mscfullver-8nds
-#if (_MSC_VER >= 1400 && _MSC_VER < 1920) && !defined(_M_ARM) && !defined(_M_ARM64)
+#if (_MSC_VER >= 1400 && _MSC_VER < 1920) && (defined(_M_IX86) || defined(_M_X64))
// first byte of _CRT_DEBUGGER_HOOK gets modified in memory by the debugger invisibly, so read it from file
if (IsDebuggerPresent())
{
|