fix build windows

This commit is contained in:
loki
2021-06-16 14:34:05 +02:00
parent c21301a423
commit 02360f7aef
4 changed files with 17 additions and 85 deletions
+6 -7
View File
@@ -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;