commit | 621ed07758329aa6ba1ec06515560244dfec096c | [log] [tgz] |
---|---|---|
author | MITSUNARI Shigeo <herumi@nifty.com> | Fri Apr 22 10:42:36 2022 +0900 |
committer | MITSUNARI Shigeo <herumi@nifty.com> | Fri Apr 22 10:42:36 2022 +0900 |
tree | 569e662030ecd0fd9f80382788e66da8a5cbb364 | |
parent | 684d69db03de24604b8cf83ad2e0e62c2dc80798 [diff] | |
parent | 4f5893e1ec3eace31ee790bf66797d3bf622eebb [diff] |
Merge branch 'dev'
diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h index 3e8e258..9bc12e5 100644 --- a/xbyak/xbyak.h +++ b/xbyak/xbyak.h
@@ -95,7 +95,9 @@ #include <stdint.h> #endif -#if !defined(MFD_CLOEXEC) // defined only linux 3.17 or later +// MFD_CLOEXEC defined only linux 3.17 or later. +// Android wraps the memfd_create syscall from API version 30. +#if !defined(MFD_CLOEXEC) || (defined(__ANDROID__) && __ANDROID_API__ < 30) #undef XBYAK_USE_MEMFD #endif