summaryrefslogtreecommitdiff
path: root/src/enet/time.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-24 17:47:39 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-24 17:47:39 +0300
commit4ef35e9ef757da1db724c5d784048601144c934c (patch)
treec683545ec5c2bc43d619eb9de994659ae88405b0 /src/enet/time.h
parent05abb208b47329b60a3cbbef86f8bc88f91ab5de (diff)
downloadplus-4ef35e9ef757da1db724c5d784048601144c934c.tar.gz
plus-4ef35e9ef757da1db724c5d784048601144c934c.tar.bz2
plus-4ef35e9ef757da1db724c5d784048601144c934c.tar.xz
plus-4ef35e9ef757da1db724c5d784048601144c934c.zip
Remove enet code from sources.
It only need for manaserv server type, but manaserv still in long development.
Diffstat (limited to 'src/enet/time.h')
-rw-r--r--src/enet/time.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/enet/time.h b/src/enet/time.h
deleted file mode 100644
index c82a54603..000000000
--- a/src/enet/time.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- @file time.h
- @brief ENet time constants and macros
-*/
-#ifndef __ENET_TIME_H__
-#define __ENET_TIME_H__
-
-#define ENET_TIME_OVERFLOW 86400000
-
-#define ENET_TIME_LESS(a, b) ((a) - (b) >= ENET_TIME_OVERFLOW)
-#define ENET_TIME_GREATER(a, b) ((b) - (a) >= ENET_TIME_OVERFLOW)
-#define ENET_TIME_LESS_EQUAL(a, b) (! ENET_TIME_GREATER (a, b))
-#define ENET_TIME_GREATER_EQUAL(a, b) (! ENET_TIME_LESS (a, b))
-
-#define ENET_TIME_DIFFERENCE(a, b) ((a) - (b) >= ENET_TIME_OVERFLOW ? (b) - (a) : (a) - (b))
-
-#endif /* __ENET_TIME_H__ */
-