summaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/random_seed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/random_seed.c b/libavutil/random_seed.c
index 5bbdf38..089d883 100644
--- a/libavutil/random_seed.c
+++ b/libavutil/random_seed.c
@@ -23,7 +23,7 @@
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
-#if HAVE_CRYPTGENRANDOM
+#if HAVE_WINCRYPT
#include <windows.h>
#include <wincrypt.h>
#endif
@@ -96,7 +96,7 @@ uint32_t av_get_random_seed(void)
{
uint32_t seed;
-#if HAVE_CRYPTGENRANDOM
+#if HAVE_WINCRYPT
HCRYPTPROV provider;
if (CryptAcquireContext(&provider, NULL, NULL, PROV_RSA_FULL,
CRYPT_VERIFYCONTEXT | CRYPT_SILENT)) {
OpenPOWER on IntegriCloud