summaryrefslogtreecommitdiff
path: root/src/net/manaserv/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/manaserv/connection.h')
-rw-r--r--src/net/manaserv/connection.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/manaserv/connection.h b/src/net/manaserv/connection.h
index b39f8957..808a6d40 100644
--- a/src/net/manaserv/connection.h
+++ b/src/net/manaserv/connection.h
@@ -26,6 +26,12 @@
#include <iosfwd>
+#ifdef ENET_VERSION_CREATE
+#define ENET_CUTOFF ENET_VERSION_CREATE(1,3,0)
+#else
+#define ENET_CUTOFF 0xFFFFFFFF
+#endif
+
namespace ManaServ
{
class MessageOut;