Now UCRT builds also provides also _setjmp/_setjmpex symbols without the
__intrinsic prefix.

Note that arm64 does not provide _setjmp neither in UCRT nor in msvcrt.dll.
---
 mingw-w64-headers/crt/setjmp.h | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/mingw-w64-headers/crt/setjmp.h b/mingw-w64-headers/crt/setjmp.h
index e62cf22e1f33..54e3ad03b67f 100644
--- a/mingw-w64-headers/crt/setjmp.h
+++ b/mingw-w64-headers/crt/setjmp.h
@@ -211,14 +211,8 @@ void * __cdecl __attribute__ ((__nothrow__)) mingw_getsp 
(void);
   #define __has_builtin(x) 0
 #endif
 
-#ifdef _UCRT
-#  ifdef _WIN64
-#    define _setjmp __intrinsic_setjmpex
-#  else
-#    define _setjmp __intrinsic_setjmp
-#  endif
-#elif defined(__aarch64__)
-     /* ARM64 msvcrt.dll lacks _setjmp, only has _setjmpex. */
+#ifdef __aarch64__
+   /* ARM64 lacks _setjmp, only has _setjmpex. */
 #  define _setjmp _setjmpex
 #endif
 #ifndef _INC_SETJMPEX
-- 
2.20.1



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

Reply via email to