enable arc4random abi under apple

This commit is contained in:
David Carlier 2020-01-25 14:47:09 +00:00
parent 76e727f7d1
commit 2b667bd3ae

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));
}
*/
*/