[commit: ghc] ghc-7.10: rts/win32: Add missing definition for EH_UNWINDING (5028a37)

git at git.haskell.org git at git.haskell.org
Mon Nov 2 13:28:15 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/5028a37ec9bafb4d43215bd05822b3430ed596b4/ghc

>---------------------------------------------------------------

commit 5028a37ec9bafb4d43215bd05822b3430ed596b4
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon Nov 2 14:24:41 2015 +0100

    rts/win32: Add missing definition for EH_UNWINDING
    
    This was taken from 5200bdeb26c5ec98739b14b10fc8907296bceeb9 on master.


>---------------------------------------------------------------

5028a37ec9bafb4d43215bd05822b3430ed596b4
 rts/win32/seh_excn.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/rts/win32/seh_excn.c b/rts/win32/seh_excn.c
index da5f64d..273ba56 100644
--- a/rts/win32/seh_excn.c
+++ b/rts/win32/seh_excn.c
@@ -1,6 +1,11 @@
 #include "ghcconfig.h"
 #include "seh_excn.h"
 
+// this should be in <excpt.h>, but it's been removed from MinGW distributions
+#ifndef EH_UNWINDING
+#define EH_UNWINDING   0x02
+#endif /* EH_UNWINDING */
+
 /*
  * Exception / signal handlers.
  */



More information about the ghc-commits mailing list