Commit ef8b8d12 authored by Alex Hultman's avatar Alex Hultman
Browse files

Fix Windows build

parent d8c9350d
......@@ -23,7 +23,7 @@
#define NOMINMAX
#include <WinSock2.h>
#include <Ws2tcpip.h>
#pargma comment(lib, "ws2_32.lib")
#pragma comment(lib, "ws2_32.lib")
#define SHUT_WR SD_SEND
#ifdef __MINGW32__
// Windows has always been tied to LE
......
......@@ -23,7 +23,7 @@ enum {
};
template <const bool isServer>
class WebSocketProtocol {
class WIN32_EXPORT WebSocketProtocol {
public:
static const int SHORT_MESSAGE_HEADER = isServer ? 6 : 2;
static const int MEDIUM_MESSAGE_HEADER = isServer ? 8 : 4;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment