1
1

wincng.c: specify the required libraries for dependencies using MSVC

Initially reported by Bob Kast as "for MS VS builds, specify the
libraries that are required so they don't need to go into all
project files that may use this library". Thanks a lot.
Этот коммит содержится в:
Marc Hoersken 2014-05-19 20:45:14 +02:00
родитель c355d31ff9
Коммит 9d50d43a83

Просмотреть файл

@ -48,6 +48,14 @@
#define _WIN32_WINNT 0x0600
#endif
/* specify the required libraries for dependencies using MSVC */
#ifdef _MSC_VER
#pragma comment(lib, "bcrypt.lib")
#ifdef HAVE_LIBCRYPT32
#pragma comment(lib, "crypt32.lib")
#endif
#endif
#include <windows.h>
#include <bcrypt.h>
#include <math.h>