merge from dev

This commit is contained in:
daan 2021-12-15 08:35:15 -08:00
commit f24a0b1019
4 changed files with 6 additions and 6 deletions

View file

@ -167,8 +167,8 @@ If we cannot get good randomness, we fall back to weak randomness based on a tim
#if defined(_WIN32)
#if defined(MI_USE_BCRYPTGENRANDOM)
// We would like to use BCryptGenRandom instead of RtlGenRandom but it can lead to a deadlock
#if !defined(MI_USE_RTLGENRANDOM)
// We prefer to use BCryptGenRandom instead of RtlGenRandom but it can lead to a deadlock
// under the VS debugger when using dynamic overriding.
#pragma comment (lib,"bcrypt.lib")
#include <bcrypt.h>