Merge pull request #198 from devnexen/arc4random_api_apple

enable arc4random abi under apple
This commit is contained in:
Daan 2020-01-25 09:51:29 -08:00 committed by GitHub
commit 165734939b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,7 +176,7 @@ static bool os_random_buf(void* buf, size_t buf_len) {
return true;
}
*/
#elif defined(ANDROID) || defined(XP_DARWIN) || defined(__DragonFly__) || \
#elif defined(ANDROID) || defined(XP_DARWIN) || defined(__APPLE__) || defined(__DragonFly__) || \
defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \
defined(__wasi__)
#include <stdlib.h>
@ -325,4 +325,4 @@ static void chacha_test(void)
chacha_block(&r);
mi_assert_internal(array_equals(r.output, r_out, 16));
}
*/
*/