Add MSVC linker #pragma for advzpi32.lib

This makes compilation using Visual Studio (cl.exe) slightly simpler.
pull/28/head
Christopher Wellons 2020-05-03 14:19:30 -04:00
parent 8cd4fde190
commit b25af46615
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,10 @@
#include "chacha.h"
#include "optparse.h"
#ifdef _MSC_VER
# pragma comment(lib, "advapi32.lib")
#endif
int curve25519_donna(uint8_t *p, const uint8_t *s, const uint8_t *b);
/* Global options. */