From 0daa31355d46b02ea3889ae9317f6be2e05434df Mon Sep 17 00:00:00 2001 From: thirumalai-qcom Date: Tue, 23 Jul 2024 16:15:38 +0530 Subject: [PATCH] deps: Add ARM64 definitions in w32-pthreads Update w32-pthreads/context.h to include definitions for _M_ARM and _M_ARM64 in addition to existing ARM definitions. --- deps/w32-pthreads/context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/w32-pthreads/context.h b/deps/w32-pthreads/context.h index f55dd73e9..72e1c1812 100644 --- a/deps/w32-pthreads/context.h +++ b/deps/w32-pthreads/context.h @@ -63,7 +63,7 @@ #define PTW32_PROGCTR(Context) ((Context).Rip) #endif -#if defined(_ARM_) || defined(ARM) +#if defined(_ARM_) || defined(ARM) || defined(_M_ARM) || defined(_M_ARM64) #define PTW32_PROGCTR(Context) ((Context).Pc) #endif