summaryrefslogtreecommitdiff
path: root/src/network/core/packet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/core/packet.cpp')
-rw-r--r--src/network/core/packet.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/network/core/packet.cpp b/src/network/core/packet.cpp
index 7548132e0..8cecd9bd2 100644
--- a/src/network/core/packet.cpp
+++ b/src/network/core/packet.cpp
@@ -11,8 +11,6 @@
* @file packet.cpp Basic functions to create, fill and read packets.
*/
-#ifdef ENABLE_NETWORK
-
#include "../../stdafx.h"
#include "../../string_func.h"
@@ -310,5 +308,3 @@ void Packet::Recv_string(char *buffer, size_t size, StringValidationSettings set
str_validate(bufp, last, settings);
}
-
-#endif /* ENABLE_NETWORK */