diff --git a/rts/win32/seh_excn.c b/rts/win32/seh_excn.c index da5f64d81206b517e8664161058d09b93addb0a9..273ba569a0d1b55c8196dd7ac243293e34906bf4 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. */