From 6341ec6350e44c1f4fac8226ffb07ff6e08f2bb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Obiltschnig?= Date: Sat, 19 Feb 2022 15:23:03 +0100 Subject: [PATCH] detect ARM64 on Windows --- Crypto/include/Poco/Crypto/Cipher.h | 1 - Foundation/include/Poco/Platform.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Crypto/include/Poco/Crypto/Cipher.h b/Crypto/include/Poco/Crypto/Cipher.h index 30cb0506d..b6ecf1172 100644 --- a/Crypto/include/Poco/Crypto/Cipher.h +++ b/Crypto/include/Poco/Crypto/Cipher.h @@ -93,7 +93,6 @@ public: ENC_BINHEX = 0x02, /// BinHex-encoded output ENC_BASE64_NO_LF = 0x81, /// Base64-encoded output, no linefeeds ENC_BINHEX_NO_LF = 0x82 /// BinHex-encoded output, no linefeeds - }; virtual ~Cipher(); diff --git a/Foundation/include/Poco/Platform.h b/Foundation/include/Poco/Platform.h index 9a945f315..f5a9a7fe9 100644 --- a/Foundation/include/Poco/Platform.h +++ b/Foundation/include/Poco/Platform.h @@ -191,7 +191,7 @@ #else #define POCO_ARCH_LITTLE_ENDIAN 1 #endif -#elif defined(__arm64__) || defined(__arm64) +#elif defined(__arm64__) || defined(__arm64) || defined(_M_ARM64) #define POCO_ARCH POCO_ARCH_ARM64 #if defined(__ARMEB__) #define POCO_ARCH_BIG_ENDIAN 1