summaryrefslogtreecommitdiff
path: root/src/net/manaserv/connection.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-08-09 18:48:57 -0600
committerJared Adams <jaxad0127@gmail.com>2010-08-09 18:50:07 -0600
commitfa2cf9bea837e17d08218d0070a60905adec268f (patch)
tree0166e7394455e005423dc539e6516b9e3483ff94 /src/net/manaserv/connection.h
parent4f5f84e1687e75fe7e80f0f31316b6efe2feae49 (diff)
downloadmana-client-fa2cf9bea837e17d08218d0070a60905adec268f.tar.gz
mana-client-fa2cf9bea837e17d08218d0070a60905adec268f.tar.bz2
mana-client-fa2cf9bea837e17d08218d0070a60905adec268f.tar.xz
mana-client-fa2cf9bea837e17d08218d0070a60905adec268f.zip
Fix enet version check *again*
Reviewed-by: Chuck Miller
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;