summaryrefslogtreecommitdiff
path: root/includes/General.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/General.h')
-rw-r--r--includes/General.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/General.h b/includes/General.h
new file mode 100644
index 0000000..6f423ed
--- /dev/null
+++ b/includes/General.h
@@ -0,0 +1,7 @@
+#ifndef __GENERAL_H__
+#define __GENERAL_H__
+
+#define MAX(__a,__b) ((__a)<(__b)?(__b):(__a))
+#define MIN(__a,__b) ((__a)>(__b)?(__b):(__a))
+
+#endif