From 20bacc05023355eb1596be0456e4e9f26b25416e Mon Sep 17 00:00:00 2001 From: dsc Date: Fri, 20 May 2022 01:44:36 +0200 Subject: [PATCH] Allow compile on iOS --- 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 5b2f9a6..d23648b 100644 --- a/src/secure_random.cpp +++ b/src/secure_random.cpp @@ -11,7 +11,7 @@ #define WINAPI #include #include -#elif defined __linux__ && defined __GLIBC__ || __ANDROID__ +#elif defined __linux__ && defined __GLIBC__ || __ANDROID__ || __IOS__ #define STRINGIFY(x) #x #define STR(x) STRINGIFY(x) #if __GLIBC__ > 2 || __GLIBC_MINOR__ > 24