summaryrefslogtreecommitdiff
path: root/src/network/core/udp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/core/udp.h')
-rw-r--r--src/network/core/udp.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/network/core/udp.h b/src/network/core/udp.h
index 9aa0c9dc4..2f77a94df 100644
--- a/src/network/core/udp.h
+++ b/src/network/core/udp.h
@@ -18,8 +18,6 @@
#include "game.h"
#include "packet.h"
-#ifdef ENABLE_NETWORK
-
/** Enum with all types of UDP packets. The order MUST not be changed **/
enum PacketUDPType {
PACKET_UDP_CLIENT_FIND_SERVER, ///< Queries a game server for game information
@@ -246,6 +244,4 @@ public:
void ReceiveNetworkGameInfo(Packet *p, NetworkGameInfo *info);
};
-#endif /* ENABLE_NETWORK */
-
#endif /* NETWORK_CORE_UDP_H */