From d327aa971a6449370ae4eb524a73bd15f7960744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ana=C3=ABl?= <60509176+Bakoubak@users.noreply.github.com> Date: Mon, 30 Nov 2026 07:09:38 +0100 Subject: [PATCH] Minecraft.Client: Windows64: Network: Remove linux guards * My script added this here, but it fails logically because we can't have WS here --- Minecraft.Client/Windows64/Network/NetworkPlayerWindows.cpp | 2 +- Minecraft.Client/Windows64/Network/NetworkPlayerWindows.h | 2 +- .../Windows64/Network/PlatformNetworkManagerWindows.cpp | 2 +- .../Windows64/Network/PlatformNetworkManagerWindows.h | 2 +- Minecraft.Client/Windows64/Network/WindowsNetworkConfig.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Minecraft.Client/Windows64/Network/NetworkPlayerWindows.cpp b/Minecraft.Client/Windows64/Network/NetworkPlayerWindows.cpp index 6b121749..e7565d83 100644 --- a/Minecraft.Client/Windows64/Network/NetworkPlayerWindows.cpp +++ b/Minecraft.Client/Windows64/Network/NetworkPlayerWindows.cpp @@ -1,6 +1,6 @@ #include "stdafx.h" -#if defined(_WINDOWS64) || defined(__linux__) +#if defined(_WINDOWS64) #include "NetworkPlayerWindows.h" #include "..\..\..\Minecraft.World\Socket.h" diff --git a/Minecraft.Client/Windows64/Network/NetworkPlayerWindows.h b/Minecraft.Client/Windows64/Network/NetworkPlayerWindows.h index acd94f80..d303d340 100644 --- a/Minecraft.Client/Windows64/Network/NetworkPlayerWindows.h +++ b/Minecraft.Client/Windows64/Network/NetworkPlayerWindows.h @@ -1,6 +1,6 @@ #pragma once -#if defined(_WINDOWS64) || defined(__linux__) +#if defined(_WINDOWS64) #include #include diff --git a/Minecraft.Client/Windows64/Network/PlatformNetworkManagerWindows.cpp b/Minecraft.Client/Windows64/Network/PlatformNetworkManagerWindows.cpp index 547962e6..8d8a8a7b 100644 --- a/Minecraft.Client/Windows64/Network/PlatformNetworkManagerWindows.cpp +++ b/Minecraft.Client/Windows64/Network/PlatformNetworkManagerWindows.cpp @@ -1,6 +1,6 @@ #include "stdafx.h" -#if defined(_WINDOWS64) || defined(__linux__) +#if defined(_WINDOWS64) #include #include diff --git a/Minecraft.Client/Windows64/Network/PlatformNetworkManagerWindows.h b/Minecraft.Client/Windows64/Network/PlatformNetworkManagerWindows.h index cf6fa5fe..ec7361f8 100644 --- a/Minecraft.Client/Windows64/Network/PlatformNetworkManagerWindows.h +++ b/Minecraft.Client/Windows64/Network/PlatformNetworkManagerWindows.h @@ -1,6 +1,6 @@ #pragma once -#if defined(_WINDOWS64) || defined(__linux__) +#if defined(_WINDOWS64) #include #include diff --git a/Minecraft.Client/Windows64/Network/WindowsNetworkConfig.h b/Minecraft.Client/Windows64/Network/WindowsNetworkConfig.h index 55dd52a4..36c098d6 100644 --- a/Minecraft.Client/Windows64/Network/WindowsNetworkConfig.h +++ b/Minecraft.Client/Windows64/Network/WindowsNetworkConfig.h @@ -1,6 +1,6 @@ #pragma once -#if defined(_WINDOWS64) || defined(__linux__) +#if defined(_WINDOWS64) #define WIN64_NET_DEFAULT_PORT 25565