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

+2 -2
View File
@@ -285,7 +285,7 @@ LevelData *DirectoryLevelStorage::prepareLevel()
for(unsigned int i = 0; i < count; ++i)
{
PlayerUID playerUid = dis.readPlayerUID();
#ifdef _WINDOWS64
#if defined(_WINDOWS64) || defined(__linux__)
app.DebugPrintf(" -- %d\n", playerUid);
#else
app.DebugPrintf(" -- %ls\n", playerUid.toString().c_str());
@@ -695,7 +695,7 @@ void DirectoryLevelStorage::saveMapIdLookup()
app.DebugPrintf("Saving %d mappings\n", m_playerMappings.size());
for ( auto& it : m_playerMappings )
{
#ifdef _WINDOWS64
#if defined(_WINDOWS64) || defined(__linux__)
app.DebugPrintf(" -- %d\n", it.first);
#else
app.DebugPrintf(" -- %ls\n", it.first.toString().c_str());