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
@@ -10,7 +10,7 @@
#include "RoofTreeFeature.h"
#include "MegaPineTreeFeature.h"
#if defined(_WINDOWS64)
#if defined(_WINDOWS64) || defined(__linux__)
#include "../Minecraft.Server/FourKitBridge.h"
#endif
@@ -203,7 +203,7 @@ void Sapling::growTree(Level* level, int x, int y, int z, Random* random, bool n
}
}
#if defined(_WINDOWS64) && defined(MINECRAFT_SERVER_BUILD)
#if (defined(_WINDOWS64) || defined(__linux__)) && defined(MINECRAFT_SERVER_BUILD)
int TreeType = data;
if (data != TYPE_EVERGREEN && data != TYPE_BIRCH && data != TYPE_JUNGLE)
{