aboutsummaryrefslogtreecommitdiff
path: root/libffi/fficonfig.h.in
diff options
context:
space:
mode:
authorAndreas Tobler <a.tobler@schweiz.org>2009-12-26 18:49:55 +0000
committerAndreas Tobler <andreast@gcc.gnu.org>2009-12-26 19:49:55 +0100
commit99fba2c42aac9edb23f2848e8378cf9138b25a16 (patch)
tree1662bd43280fd0c940233f8e229b9a2eaec7361e /libffi/fficonfig.h.in
parent302486f4fb52bf49b2a3b581e24c30b9a680da91 (diff)
downloadgcc-99fba2c42aac9edb23f2848e8378cf9138b25a16.zip
gcc-99fba2c42aac9edb23f2848e8378cf9138b25a16.tar.gz
gcc-99fba2c42aac9edb23f2848e8378cf9138b25a16.tar.bz2
configure.ac: Define FFI_MMAP_EXEC_WRIT for the given targets.
2009-12-26 Andreas Tobler <a.tobler@schweiz.org> * configure.ac: Define FFI_MMAP_EXEC_WRIT for the given targets. * configure: Regenerate. * fficonfig.h.in: Likewise. * src/closures.c: Remove the FFI_MMAP_EXEC_WRIT definition for Solaris/x86. From-SVN: r155475
Diffstat (limited to 'libffi/fficonfig.h.in')
-rw-r--r--libffi/fficonfig.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libffi/fficonfig.h.in b/libffi/fficonfig.h.in
index 9fce46b..e03bbf9 100644
--- a/libffi/fficonfig.h.in
+++ b/libffi/fficonfig.h.in
@@ -17,6 +17,9 @@
/* Define this if you want extra debugging. */
#undef FFI_DEBUG
+/* Cannot use malloc on this target, so, we revert to alternative means */
+#undef FFI_MMAP_EXEC_WRIT
+
/* Define this is you do not want support for the raw API. */
#undef FFI_NO_RAW_API