summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/progs/duke3d/Engine/src/enet/include/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sdl/progs/duke3d/Engine/src/enet/include/time.h')
-rw-r--r--apps/plugins/sdl/progs/duke3d/Engine/src/enet/include/time.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/apps/plugins/sdl/progs/duke3d/Engine/src/enet/include/time.h b/apps/plugins/sdl/progs/duke3d/Engine/src/enet/include/time.h
deleted file mode 100644
index c82a546035..0000000000
--- a/apps/plugins/sdl/progs/duke3d/Engine/src/enet/include/time.h
+++ /dev/null
@@ -1,18 +0,0 @@
1/**
2 @file time.h
3 @brief ENet time constants and macros
4*/
5#ifndef __ENET_TIME_H__
6#define __ENET_TIME_H__
7
8#define ENET_TIME_OVERFLOW 86400000
9
10#define ENET_TIME_LESS(a, b) ((a) - (b) >= ENET_TIME_OVERFLOW)
11#define ENET_TIME_GREATER(a, b) ((b) - (a) >= ENET_TIME_OVERFLOW)
12#define ENET_TIME_LESS_EQUAL(a, b) (! ENET_TIME_GREATER (a, b))
13#define ENET_TIME_GREATER_EQUAL(a, b) (! ENET_TIME_LESS (a, b))
14
15#define ENET_TIME_DIFFERENCE(a, b) ((a) - (b) >= ENET_TIME_OVERFLOW ? (b) - (a) : (a) - (b))
16
17#endif /* __ENET_TIME_H__ */
18