From e318c2b0b7a32e04337cbd183b9185de9d19e371 Mon Sep 17 00:00:00 2001 From: Masaaki Goshima Date: Sun, 12 Apr 2020 07:41:34 +0900 Subject: [PATCH] Disable HAVE_GETRANDOM and use syscall with SYS_getrandom --- internal/expat/expat_config.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/internal/expat/expat_config.h b/internal/expat/expat_config.h index 36d71eb..e00a70e 100644 --- a/internal/expat/expat_config.h +++ b/internal/expat/expat_config.h @@ -10,12 +10,9 @@ /* Define to 1 if you have the `arc4random' function. */ /* #undef HAVE_ARC4RANDOM */ -#if defined(_WIN32) -#elif defined(__APPLE__) +#if defined(__APPLE__) /* Define to 1 if you have the `arc4random_buf' function. */ #define HAVE_ARC4RANDOM_BUF 1 -#else -#define HAVE_GETRANDOM 1 #endif /* Define to 1 if you have the header file. */