Merge commit '7ac092d05de487d088bc96ab4a7bd6207fbfa98c'
[ffmpeg.git] / libavutil / random_seed.c
index d1c9a3f7046d7efada2e11194819e113ab0f6bb7..881c23c8c81c2b91ff69521247a4219eb1feebb5 100644 (file)
@@ -26,7 +26,7 @@
 #if HAVE_IO_H
 #include <io.h>
 #endif
-#if HAVE_CRYPTGENRANDOM
+#if HAVE_WINCRYPT
 #include <windows.h>
 #include <wincrypt.h>
 #endif
@@ -121,7 +121,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)) {