This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
libffi-3.0.10 on x86-interix
- From: Markus Duft <mduft at gentoo dot org>
- To: libffi-discuss at sourceware dot org
- Date: Thu, 12 May 2011 09:30:50 +0200
- Subject: libffi-3.0.10 on x86-interix
Hey!
i just updated my gentoo prefix installations on interix, and noticed, that a little hunk for interix platform (build) support is missing; a patch is attached. could you please add this to the repository? thanks a lot :)
Regards, Markus
diff -ru libffi-3.0.10rc8.orig/src/closures.c libffi-3.0.10rc8/src/closures.c
--- libffi-3.0.10rc8.orig/src/closures.c 2011-05-10 08:45:31 +0200
+++ libffi-3.0.10rc8/src/closures.c 2011-05-10 09:12:33 +0200
@@ -172,7 +172,7 @@
#endif /* !FFI_MMAP_EXEC_SELINUX */
-#elif defined (__CYGWIN__)
+#elif defined (__CYGWIN__) || defined(__INTERIX)
#include <sys/mman.h>