mirror of
https://github.com/kmackay/micro-ecc.git
synced 2026-10-25 08:43:44 +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))
|
#if (defined(_WIN32) || defined(_WIN64))
|
||||||
/* Windows */
|
/* 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
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <wincrypt.h>
|
#include <wincrypt.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user