summaryrefslogtreecommitdiff
path: root/src/enet/utility.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/enet/utility.h')
-rw-r--r--src/enet/utility.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/enet/utility.h b/src/enet/utility.h
new file mode 100644
index 000000000..e48a476be
--- /dev/null
+++ b/src/enet/utility.h
@@ -0,0 +1,12 @@
+/**
+ @file utility.h
+ @brief ENet utility header
+*/
+#ifndef __ENET_UTILITY_H__
+#define __ENET_UTILITY_H__
+
+#define ENET_MAX(x, y) ((x) > (y) ? (x) : (y))
+#define ENET_MIN(x, y) ((x) < (y) ? (x) : (y))
+
+#endif /* __ENET_UTILITY_H__ */
+