X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Frandom_seed.c;h=881c23c8c81c2b91ff69521247a4219eb1feebb5;hb=aa6f43c2e959a960792f76d006b8699d733f258f;hp=d1c9a3f7046d7efada2e11194819e113ab0f6bb7;hpb=f1464418844040a96ad031bc7c31544f4bf30bd3;p=ffmpeg diff --git a/libavutil/random_seed.c b/libavutil/random_seed.c index d1c9a3f7046..881c23c8c81 100644 --- a/libavutil/random_seed.c +++ b/libavutil/random_seed.c @@ -26,7 +26,7 @@ #if HAVE_IO_H #include #endif -#if HAVE_CRYPTGENRANDOM +#if HAVE_WINCRYPT #include #include #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)) {