Use zlib with static CRT

dependabot/npm_and_yarn/Src/WebController/UI/websocket-extensions-0.1.4
Pawel Kurowski 2020-01-14 15:08:14 +01:00
parent bde88c85b5
commit 70673b1c49
7 changed files with 11 additions and 4 deletions

View File

@ -1,14 +1,21 @@
#include "StdAfx.h"
#include "Compression.h"
#include "Common/zlib/include/zlib.h"
#if defined _WIN64
#pragma comment(lib, "Common/zlib/lib/x64/zlib.lib")
#define Z_PLATFORM "x64/"
#else
#pragma comment(lib, "Common/zlib/lib/x86/zlib.lib")
#define Z_PLATFORM "x86/"
#endif
#if defined _DEBUG
#define Z_DEBUG "d"
#else
#define Z_DEBUG ""
#endif
#pragma comment(lib, "Common/zlib/lib/" Z_PLATFORM "zlibstatic" Z_DEBUG ".lib")
namespace MWR::Compression
{
template <>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.