mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 22:43:27 +02:00
Changes to compile for Win64
This commit is contained in:
@@ -23,6 +23,10 @@
|
||||
#ifndef STDEXT_COMPILER_H
|
||||
#define STDEXT_COMPILER_H
|
||||
|
||||
#ifdef WIN32
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
||||
#ifdef __clang__
|
||||
// clang is supported
|
||||
#define BUILD_COMPILER "clang " __VERSION__
|
||||
|
@@ -23,6 +23,7 @@
|
||||
#include "demangle.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
#include <dbghelp.h>
|
||||
#else
|
||||
|
@@ -178,6 +178,7 @@ std::string latin1_to_utf8(const std::string& src)
|
||||
}
|
||||
|
||||
#ifdef WIN32
|
||||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
std::wstring utf8_to_utf16(const std::string& src)
|
||||
{
|
||||
|
Reference in New Issue
Block a user