From c9faa5c55c9564171b5702f68739e069f5660d30 Mon Sep 17 00:00:00 2001 From: dsc Date: Fri, 16 Apr 2021 22:52:38 +0200 Subject: [PATCH] Allow compile on Android --- src/secure_random.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/secure_random.cpp b/src/secure_random.cpp index d4930c1..5b2f9a6 100644 --- a/src/secure_random.cpp +++ b/src/secure_random.cpp @@ -11,7 +11,7 @@ #define WINAPI #include #include -#elif defined __linux__ && defined __GLIBC__ +#elif defined __linux__ && defined __GLIBC__ || __ANDROID__ #define STRINGIFY(x) #x #define STR(x) STRINGIFY(x) #if __GLIBC__ > 2 || __GLIBC_MINOR__ > 24