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.
Этот коммит содержится в:
родитель
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>
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user