build: link bcrypt.lib via vcxproj files

And drop pragma from `rand.c`.

Closes #21386
This commit is contained in:
Viktor Szakats 2026-04-20 16:02:14 +02:00
parent db13c08c58
commit 70a159527c
No known key found for this signature in database
3 changed files with 40 additions and 43 deletions

View file

@ -35,9 +35,6 @@
#ifdef _WIN32
#include <bcrypt.h>
#ifdef _MSC_VER
# pragma comment(lib, "bcrypt.lib")
#endif
#ifndef STATUS_SUCCESS
#define STATUS_SUCCESS ((NTSTATUS)0x00000000L)
#endif