nixpkgs-suyu/pkgs/development/compilers/mit-scheme/ucontext-cygwin.patch
Ludovic Courtès 4f9ffa5e59 GNU/MIT Scheme: Attempt to fix Cygwin builds.
svn path=/nixpkgs/trunk/; revision=21295
2010-04-24 16:02:08 +00:00

13 lines
415 B
Diff
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Make `ucontext_t' definition visible on Cygwin. See
<http://thread.gmane.org/gmane.lisp.scheme.mit-scheme.devel/489>.
--- mit-scheme-9.0.1/src/microcode/uxtrap.h 2010-02-09 01:09:53.000000000 +0100
+++ mit-scheme-9.0.1/src/microcode/uxtrap.h 2010-04-24 17:55:01.000000000 +0200
@@ -27,6 +27,7 @@ USA.
#define SCM_UXTRAP_H
#include "os.h"
+#include <ucontext.h>
/* Machine/OS-dependent section (long) */