소스 검색

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.
thirumalai-qcom 1 년 전
부모
커밋
0daa31355d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      deps/w32-pthreads/context.h

+ 1 - 1
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