diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/enet/utility.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/enet/utility.h b/include/enet/utility.h index e48a476..b04bb7a 100644 --- a/include/enet/utility.h +++ b/include/enet/utility.h @@ -7,6 +7,7 @@ #define ENET_MAX(x, y) ((x) > (y) ? (x) : (y)) #define ENET_MIN(x, y) ((x) < (y) ? (x) : (y)) +#define ENET_DIFFERENCE(x, y) ((x) < (y) ? (y) - (x) : (x) - (y)) #endif /* __ENET_UTILITY_H__ */ |