Skip to content

Commit 899a439

Browse files
authored
Merge pull request #106 from koh-osug/master
Update platform-specific.inc
2 parents a148ae4 + e0af5a8 commit 899a439

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

platform-specific.inc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
#if (defined(_WIN32) || defined(_WIN64))
99
/* Windows */
1010

11+
// use pragma syntax to prevent tweaking the linker script for getting CryptXYZ function
12+
#pragma comment(lib, "crypt32.lib")
13+
#pragma comment(lib, "advapi32.lib")
14+
1115
#define WIN32_LEAN_AND_MEAN
1216
#include <windows.h>
1317
#include <wincrypt.h>

0 commit comments

Comments
 (0)