summaryrefslogtreecommitdiff
path: root/fipstest.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-09-11 06:03:55 -0400
committerJeffrey Walton <noloader@gmail.com>2020-09-11 06:03:55 -0400
commit999090a3cad4b07d7e2ace847d0fac0535b47ef9 (patch)
treef58609721a572c2fb0275720c9f5f6e59325494f /fipstest.cpp
parentafba9f4a87f4b333ed7094e269adb31e667c3220 (diff)
downloadcryptopp-git-999090a3cad4b07d7e2ace847d0fac0535b47ef9.tar.gz
Fix MSVC compile error with VS2019
Diffstat (limited to 'fipstest.cpp')
-rw-r--r--fipstest.cpp2
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())
{