summaryrefslogtreecommitdiff
path: root/include/General.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/General.h')
-rw-r--r--include/General.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/General.h b/include/General.h
new file mode 100644
index 0000000..6f423ed
--- /dev/null
+++ b/include/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