Fix darwin11 build problem

This commit is contained in:
Anthony Green
2011-11-12 07:37:40 -05:00
parent c411f140f3
commit 236c939132
5 changed files with 130 additions and 45 deletions

View File

@@ -339,7 +339,7 @@ case "$target" in
[Cannot use PROT_EXEC on this target, so, we revert to
alternative means])
;;
*-apple-darwin10* | *-*-freebsd* | *-*-openbsd* | *-pc-solaris*)
*-apple-darwin1[[10]]* | *-*-freebsd* | *-*-openbsd* | *-pc-solaris*)
AC_DEFINE(FFI_MMAP_EXEC_WRIT, 1,
[Cannot use malloc on this target, so, we revert to
alternative means])