Fixes for building on windows
This commit is contained in:
parent
4a7e58a938
commit
1238b69d74
@ -24,6 +24,7 @@
|
||||
#include <array>
|
||||
#include <vector>
|
||||
|
||||
#define NOMINMAX
|
||||
#include "arch_api.h"
|
||||
#include "base_clusterinfo.h"
|
||||
#include "idstring.h"
|
||||
|
@ -46,6 +46,7 @@
|
||||
#include "version.h"
|
||||
|
||||
#if defined(_WIN32)
|
||||
#define NOMINMAX
|
||||
#include <io.h>
|
||||
#include <windows.h>
|
||||
#elif defined(__APPLE__)
|
||||
@ -126,7 +127,7 @@ std::string proc_self_dirname()
|
||||
std::string proc_self_dirname()
|
||||
{
|
||||
int i = 0;
|
||||
#ifdef __MINGW32__
|
||||
#ifdef _WIN32
|
||||
char longpath[MAX_PATH + 1];
|
||||
char shortpath[MAX_PATH + 1];
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user