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