diff options
author | Anthony Green <green@moxielogic.com> | 2017-09-27 21:51:34 -0400 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2017-09-27 21:51:34 -0400 |
commit | 93d8e7dd17b08ff195af3580584ccd5c2228202f (patch) | |
tree | ddf80899612adaaab9c5a4ec12a1a7a3b39a1057 /src/closures.c | |
parent | 02a5145abbae2e311d5aeeee606c5b5745a99b55 (diff) | |
download | libffi-93d8e7dd17b08ff195af3580584ccd5c2228202f.tar.gz |
Fix #265
Diffstat (limited to 'src/closures.c')
-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 f7eb464..abbba7c 100644 --- a/src/closures.c +++ b/src/closures.c @@ -55,7 +55,7 @@ #endif #if FFI_MMAP_EXEC_WRIT && !defined FFI_MMAP_EXEC_SELINUX -# ifdef __linux__ +# if defined(__linux__) && !defined(__ANDROID__) /* When defined to 1 check for SELinux and if SELinux is active, don't attempt PROT_EXEC|PROT_WRITE mapping at all, as that might cause audit messages. */ |