fix build windows
This commit is contained in:
+6
-7
@@ -3,7 +3,6 @@
|
||||
|
||||
#include <bitset>
|
||||
#include <chrono>
|
||||
#include <filesystem>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
@@ -48,7 +47,7 @@ struct audio_t {
|
||||
struct stream_t {
|
||||
std::chrono::milliseconds ping_timeout;
|
||||
|
||||
std::filesystem::path file_apps;
|
||||
std::string file_apps;
|
||||
|
||||
int fec_percentage;
|
||||
|
||||
@@ -61,12 +60,12 @@ struct nvhttp_t {
|
||||
// pc|lan|wan
|
||||
std::string origin_pin_allowed;
|
||||
|
||||
std::filesystem::path pkey; // must be 2048 bits
|
||||
std::filesystem::path cert; // must be signed with a key of 2048 bits
|
||||
std::string pkey; // must be 2048 bits
|
||||
std::string cert; // must be signed with a key of 2048 bits
|
||||
|
||||
std::string sunshine_name;
|
||||
|
||||
std::filesystem::path file_state;
|
||||
std::string file_state;
|
||||
|
||||
std::string external_ip;
|
||||
std::vector<std::string> resolutions;
|
||||
@@ -91,13 +90,13 @@ enum flag_e : std::size_t {
|
||||
struct sunshine_t {
|
||||
int min_log_level;
|
||||
std::bitset<flag::FLAG_SIZE> flags;
|
||||
std::filesystem::path credentials_file;
|
||||
std::string credentials_file;
|
||||
|
||||
std::string username;
|
||||
std::string password;
|
||||
std::string salt;
|
||||
|
||||
std::filesystem::path config_file;
|
||||
std::string config_file;
|
||||
|
||||
struct cmd_t {
|
||||
std::string name;
|
||||
|
||||
Reference in New Issue
Block a user