This allows including the header without errors, if building for an
architecture that we lack setjmp support for so far.

This matches what wine have got at the end of their setjmp.h.
---
 mingw-w64-headers/crt/setjmp.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/mingw-w64-headers/crt/setjmp.h b/mingw-w64-headers/crt/setjmp.h
index 79c28a5..c931c77 100644
--- a/mingw-w64-headers/crt/setjmp.h
+++ b/mingw-w64-headers/crt/setjmp.h
@@ -162,6 +162,11 @@ extern "C" {
     unsigned long long D[8];
   } _JUMP_BUFFER;
 
+#else
+
+#define _JBLEN 1
+#define _JBTYPE int
+
 #endif
 
 #ifndef _JMP_BUF_DEFINED
-- 
2.7.4


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to