mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-12-25 01:44:15 +08:00
fix compilation when gnu++17
c++ variant is used on linux
This commit is contained in:
parent
83be0d66d9
commit
7b3b9f89ee
@ -43,10 +43,10 @@ enum class source_server_type : uint8_t {
|
|||||||
};
|
};
|
||||||
|
|
||||||
enum class source_server_env : uint8_t {
|
enum class source_server_env : uint8_t {
|
||||||
linux = 'l',
|
linux_os = 'l',
|
||||||
windows = 'w',
|
windows_os = 'w',
|
||||||
old_mac = 'm',
|
old_mac_os = 'm',
|
||||||
mac = 'o',
|
mac_os = 'o',
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class source_server_visibility : uint8_t {
|
enum class source_server_visibility : uint8_t {
|
||||||
@ -69,9 +69,9 @@ enum source_server_extra_flag : uint8_t {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(STEAM_WIN32)
|
#if defined(STEAM_WIN32)
|
||||||
static constexpr const source_server_env my_server_env = source_server_env::windows;
|
static constexpr const source_server_env my_server_env = source_server_env::windows_os;
|
||||||
#else
|
#else
|
||||||
static constexpr const source_server_env my_server_env = source_server_env::linux;
|
static constexpr const source_server_env my_server_env = source_server_env::linux_os;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user