Add pragma for bcrypt.lib

Needed when build with cmake

Signed-off-by: Kal42 <Kal42@users.noreply.github.com>
Signed-off-by: Tobiasz Laskowski <tobil4sk@outlook.com>
This commit is contained in:
Kal42 2024-04-25 10:30:08 +02:00 committed by Tobiasz Laskowski
parent 8cd0dfaa32
commit 7f85eb6919

View File

@ -42,6 +42,10 @@
#include <bcrypt.h>
#include <intsafe.h>
#if defined(_MSC_VER)
#pragma comment( lib, "bcrypt.lib" )
#endif /* _MSC_VER */
int mbedtls_platform_entropy_poll(void *data, unsigned char *output, size_t len,
size_t *olen)
{