From 5123850db075b69272700b32314dc9b04e0b43b3 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sun, 28 Mar 2021 13:34:57 +0100 Subject: Fix Windows XP to 7 compatibility (#5167) * Partially reverts 01a4e696b * Unify thread names - Remove use of GetThreadId API --- src/mbedTLS++/AesCfb128Decryptor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mbedTLS++/AesCfb128Decryptor.h') diff --git a/src/mbedTLS++/AesCfb128Decryptor.h b/src/mbedTLS++/AesCfb128Decryptor.h index a2c9d6a05..1fee2bbba 100644 --- a/src/mbedTLS++/AesCfb128Decryptor.h +++ b/src/mbedTLS++/AesCfb128Decryptor.h @@ -9,7 +9,7 @@ #pragma once -#ifdef _WIN32 +#if PLATFORM_CRYPTOGRAPHY && defined(_WIN32) #include #else #include "mbedtls/aes.h" @@ -38,7 +38,7 @@ public: protected: -#ifdef _WIN32 +#if PLATFORM_CRYPTOGRAPHY && defined(_WIN32) HCRYPTPROV m_Aes; HCRYPTKEY m_Key; #else -- cgit v1.2.3