Export static symbols when building ws with shared library (#370)

This commit is contained in:
Anton Ivlev
2022-03-19 21:41:40 +03:00
committed by GitHub
parent f7eb3688dd
commit a3d2fa4b7e
8 changed files with 79 additions and 34 deletions

View File

@ -11,6 +11,7 @@
#pragma once
#include "IXCancellationRequest.h"
#include "IXWebsocketExport.h"
#include <atomic>
#include <memory>
#include <mutex>
@ -54,7 +55,7 @@ namespace ix
std::string _hostname;
int _port;
int64_t _wait;
const static int64_t kDefaultWait;
IXWEBSOCKET_EXPORT const static int64_t kDefaultWait;
struct addrinfo* _res;
std::mutex _resMutex;