mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
14 lines
373 B
Diff
14 lines
373 B
Diff
diff -urN --no-dereference libffi-clean/src/closures.c libffi-workdir/src/closures.c
|
|
--- libffi-clean/src/closures.c
|
|
+++ libffi-workdir/src/closures.c
|
|
@@ -139,6 +139,9 @@
|
|
executable memory. */
|
|
# define FFI_MMAP_EXEC_WRIT 1
|
|
# endif
|
|
+# if defined(__astral__)
|
|
+# define FFI_MMAP_EXEC_WRIT 1
|
|
+# endif
|
|
#endif
|
|
|
|
#if FFI_MMAP_EXEC_WRIT && !defined FFI_MMAP_EXEC_SELINUX
|