Misc compile fixes
This commit is contained in:
@@ -6,8 +6,11 @@
|
|||||||
|
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <cstring>
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
|
|
||||||
|
using namespace std::literals::string_literals;
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
||||||
#include <cwchar>
|
#include <cwchar>
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
#include "cond.h"
|
#include "cond.h"
|
||||||
#include "sync.h"
|
#include "sync.h"
|
||||||
|
|
||||||
|
#include <limits.h>
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include <thread>
|
#include <thread>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
#include "mutex.h"
|
#include "mutex.h"
|
||||||
#include "sync.h"
|
#include "sync.h"
|
||||||
|
|
||||||
|
#include <limits.h>
|
||||||
|
|
||||||
void shared_mutex::imp_lock_shared(s64 _old)
|
void shared_mutex::imp_lock_shared(s64 _old)
|
||||||
{
|
{
|
||||||
verify("shared_mutex overflow" HERE), _old <= c_max;
|
verify("shared_mutex overflow" HERE), _old <= c_max;
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
// http://www.gnu.org/licenses/gpl-3.0.txt
|
// http://www.gnu.org/licenses/gpl-3.0.txt
|
||||||
|
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
#include <cstring>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <string>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <set>
|
#include <set>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user