Compile on Windows
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
// Created by loki on 5/30/19.
|
||||
//
|
||||
|
||||
#include "process.h"
|
||||
|
||||
#include <thread>
|
||||
#include <filesystem>
|
||||
#include <iostream>
|
||||
@@ -9,7 +11,6 @@
|
||||
#include "nvhttp.h"
|
||||
#include "stream.h"
|
||||
#include "config.h"
|
||||
#include "process.h"
|
||||
#include "thread_pool.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// Created by loki on 6/3/19.
|
||||
//
|
||||
|
||||
#include "process.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <filesystem>
|
||||
|
||||
@@ -21,7 +23,6 @@
|
||||
#include "stream.h"
|
||||
#include "nvhttp.h"
|
||||
#include "platform/common.h"
|
||||
#include "process.h"
|
||||
#include "network.h"
|
||||
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// Created by loki on 12/14/19.
|
||||
//
|
||||
|
||||
#include "process.h"
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
@@ -9,7 +11,6 @@
|
||||
#include <boost/property_tree/ptree.hpp>
|
||||
#include <boost/property_tree/json_parser.hpp>
|
||||
|
||||
#include "process.h"
|
||||
#include "config.h"
|
||||
#include "utility.h"
|
||||
#include "platform/common.h"
|
||||
@@ -295,4 +296,4 @@ void refresh(const std::string &file_name) {
|
||||
proc = std::move(*proc_opt);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,10 @@
|
||||
#ifndef SUNSHINE_PROCESS_H
|
||||
#define SUNSHINE_PROCESS_H
|
||||
|
||||
#ifndef __kernel_entry
|
||||
#define __kernel_entry
|
||||
#endif
|
||||
|
||||
#include <unordered_map>
|
||||
#include <optional>
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
//
|
||||
// Created by loki on 6/5/19.
|
||||
//
|
||||
|
||||
#include "process.h"
|
||||
|
||||
#include <boost/version.hpp>
|
||||
#if ((BOOST_VERSION / 1000) >= 107)
|
||||
#define EXECUTOR(x) (x->get_executor())
|
||||
@@ -32,7 +35,6 @@ extern "C" {
|
||||
#include "thread_safe.h"
|
||||
#include "crypto.h"
|
||||
#include "input.h"
|
||||
#include "process.h"
|
||||
|
||||
#define IDX_START_A 0
|
||||
#define IDX_REQUEST_IDR_FRAME 0
|
||||
|
||||
@@ -568,7 +568,8 @@ struct endianness {
|
||||
defined(__ARMEB__) || \
|
||||
defined(__THUMBEB__) || \
|
||||
defined(__AARCH64EB__) || \
|
||||
defined(_MIBSEB) || defined(__MIBSEB) || defined(__MIBSEB__)
|
||||
defined(_MIBSEB) || defined(__MIBSEB) || defined(__MIBSEB__) || \
|
||||
defined(WIN32)
|
||||
// It's a big-endian target architecture
|
||||
little = false,
|
||||
#elif defined(__BYTE_ORDER) && __BYTE_ORDER == __LITTLE_ENDIAN || \
|
||||
|
||||
Reference in New Issue
Block a user