diff options
author | Anthony Green <green@moxielogic.com> | 2014-02-28 01:06:48 -0500 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2014-02-28 01:09:06 -0500 |
commit | 11d7aa9d7a4bbe642944edc0f07cf96db9b270b6 (patch) | |
tree | edb3c10ae1ecbd0af11bab0ba3a827e0f377011c /src | |
parent | b40aeda31a74d95a37c723b6243aabac466e67c4 (diff) | |
parent | 3b44d41156149af8da2a58825fefdfa23274ae7a (diff) | |
download | libffi-11d7aa9d7a4bbe642944edc0f07cf96db9b270b6.tar.gz |
Merge pull request #46 from makotokato/android-clang
Fix build failure when using clang for Android
Diffstat (limited to 'src')
-rw-r--r-- | src/closures.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/closures.c b/src/closures.c index 6eac601..98f00f9 100644 --- a/src/closures.c +++ b/src/closures.c @@ -34,7 +34,7 @@ #include <ffi_common.h> #if !FFI_MMAP_EXEC_WRIT && !FFI_EXEC_TRAMPOLINE_TABLE -# if __gnu_linux__ +# if __gnu_linux__ && !defined(__ANDROID__) /* This macro indicates it may be forbidden to map anonymous memory with both write and execute permission. Code compiled when this option is defined will attempt to map such pages once, but if it |