---
 mingw-w64-headers/include/winnt.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mingw-w64-headers/include/winnt.h b/mingw-w64-headers/include/winnt.h
index 23f1f298b..96a610c1d 100644
--- a/mingw-w64-headers/include/winnt.h
+++ b/mingw-w64-headers/include/winnt.h
@@ -10210,7 +10210,7 @@ typedef DWORD (WINAPI *PRTL_RUN_ONCE_INIT_FN)(PRTL_RUN_ONCE, PVOID, PVOID *);
     PVOID GetCurrentFiber(VOID);
     PVOID GetFiberData(VOID);
 
-#if defined (__aarch64__)
+#if defined (__aarch64__) || defined(__arm64ec__)
     FORCEINLINE struct _TEB *NtCurrentTeb(VOID)
     {
         struct _TEB *teb;

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to