linux (compat): Add linux to most Win64 guards

This commit is contained in:
Anaël committed 2026-11-29 13:33:39 +01:00
1 parent 8cf5675892
commit 9626065598
180 files changed
+941 -935

No files matched your search

@@ -74,7 +74,7 @@ bool CPlatformNetworkManagerStub::Initialise(CGameNetworkManager *pGameNetworkMa
m_bSearchPending = false;
m_bIsOfflineGame = false;
#ifdef _WINDOWS64
#if defined(_WINDOWS64) || defined(__linux__)
m_bJoinPending = false;
m_joinLocalUsersMask = 0;
m_joinHostName[0] = 0;
@@ -285,7 +285,7 @@ void CPlatformNetworkManagerStub::HandleSignInChange()
bool CPlatformNetworkManagerStub::_RunNetworkGame()
{
#ifdef _WINDOWS64
#if defined(_WINDOWS64) || defined(__linux__)
extern QNET_STATE _iQNetStubState;
_iQNetStubState = QNET_STATE_GAME_PLAY;
@@ -507,7 +507,7 @@ wstring CPlatformNetworkManagerStub::GatherRTTStats()
void CPlatformNetworkManagerStub::TickSearch()
{
#ifdef _WINDOWS64
#if defined(_WINDOWS64) || defined(__linux__)
if (m_SessionsUpdatedCallback == nullptr)
return;
@@ -571,7 +571,7 @@ void CPlatformNetworkManagerStub::ForceFriendsSessionRefresh()
m_pSearchResults[i] = nullptr;
}
#ifdef _WINDOWS64
#if defined(_WINDOWS64) || defined(__linux__)
// Immediately rebuild the session list from servers.db so that
// edits/deletions are visible as soon as the UI regains focus,
// rather than waiting for the next TickSearch() cycle.