From e095282437bbf060cfe37a3f7a60d8ff069c2b9c Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Sat, 2 Feb 2019 17:13:41 +0300 Subject: [PATCH] mdbx: backport - fix __ANDROID__ typo. Thank to Howard Chu . Change-Id: Ibcbe2e4790a5df5758d9fd6c621793ea42a94682 --- src/lck-posix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lck-posix.c b/src/lck-posix.c index 841d5cb9..e8d4539a 100644 --- a/src/lck-posix.c +++ b/src/lck-posix.c @@ -20,8 +20,8 @@ #ifndef MDBX_USE_ROBUST /* Howard Chu: Android currently lacks Robust Mutex support */ #if defined(EOWNERDEAD) && \ - !defined(ANDROID) /* LY: glibc before 2.10 has a troubles with Robust \ - Mutex too. */ \ + !defined(__ANDROID__) /* LY: glibc before 2.10 has a troubles \ + with Robust Mutex too. */ \ && __GLIBC_PREREQ(2, 10) #define MDBX_USE_ROBUST 1 #else