Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SML/NJ110.76 を cygwin1.7.28-2 でビルドするために書いた怪しげなヘッダ(cygwin-fault.h)とパッチ
/* 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 */
#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 */
@crd477

This comment has been minimized.

Copy link

@crd477 crd477 commented Apr 27, 2014

Worked great! Thank you!

@eldesh

This comment has been minimized.

Copy link
Owner Author

@eldesh eldesh commented Sep 29, 2014

This issue was fixed on SML/NJ 110.77 as bug id #125.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment