mirror of
https://github.com/kmackay/micro-ecc.git
synced 2026-10-22 07:28:12 +00:00
Update platform-specific.inc
Fix for Visual Studio 2015 compilation to find necessary libraries
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
#if (defined(_WIN32) || defined(_WIN64))
|
||||
/* Windows */
|
||||
|
||||
// use pragma syntax to prevent tweaking the linker script for getting CryptXYZ function
|
||||
#pragma comment(lib, "crypt32.lib")
|
||||
#pragma comment(lib, "advapi32.lib")
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <wincrypt.h>
|
||||
|
||||
Reference in New Issue
Block a user