i386 has always _setjmp function only with one argument.
Sync i386 declaration in intrin.h with setjmp.h
---
 mingw-w64-headers/crt/intrin.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mingw-w64-headers/crt/intrin.h b/mingw-w64-headers/crt/intrin.h
index 041c20e542bf..2b48a7251009 100644
--- a/mingw-w64-headers/crt/intrin.h
+++ b/mingw-w64-headers/crt/intrin.h
@@ -521,7 +521,8 @@ extern "C" {
     __MACHINEIA64(void __rum(int))
 #ifndef __CYGWIN__
 #ifndef USE_NO_MINGW_SETJMP_TWO_ARGS
-    __MACHINE(int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) 
_setjmp(jmp_buf,void *))
+    __MACHINEIA32(int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) 
_setjmp(jmp_buf))
+    __MACHINEX64(int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) 
_setjmp(jmp_buf,void *))
     __MACHINEIA64(int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) 
_setjmpex(jmp_buf,void *))
     __MACHINEX64(int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) 
_setjmpex(jmp_buf,void *))
 #else
-- 
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