Created
March 3, 2014 01:39
-
-
Save eldesh/9317060 to your computer and use it in GitHub Desktop.
SML/NJ110.76 を cygwin1.7.28-2 でビルドするために書いた怪しげなヘッダ(cygwin-fault.h)とパッチ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* base/runtime/mach-dep/cygwin-fault.c */ | |
$ diff base/runtime/mach-dep/cygwin-fault.c base/runtime/mach-dep/cygwin-fault.new.c | |
20,21c20 | |
< #include <windows.h> | |
< #include <exceptions.h> /* Cygwin stuff */ | |
--- | |
> #include "cygwin-fault.h" /* Cygwin stuff */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if !defined CYGWIN_FAULT_INCLUDED | |
#define CYGWIN_FAULT_INCLUDED | |
#include <windows.h> | |
typedef int (exn_handler_fn)(EXCEPTION_RECORD *, void *, CONTEXT *, void *); | |
typedef struct exception_list { | |
struct exception_list * prev; | |
exn_handler_fn * handler; | |
} exception_list; | |
#endif /* CYGWIN_FAULT_INCLUDED */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Worked great! Thank you!