Changes to compile for Win64

This commit is contained in:
Eduardo Bart
2013-11-13 13:55:34 -02:00
parent 0d44942e8e
commit b07a77f705
11 changed files with 155 additions and 63 deletions

View File

@@ -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__

View File

@@ -23,6 +23,7 @@
#include "demangle.h"
#ifdef _MSC_VER
#include <winsock2.h>
#include <windows.h>
#include <dbghelp.h>
#else

View File

@@ -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)
{