summaryrefslogtreecommitdiff
path: root/includes/generic.h
diff options
context:
space:
mode:
authorPixel <Pixel>2002-07-21 11:52:56 +0000
committerPixel <Pixel>2002-07-21 11:52:56 +0000
commitcbee971a2e8929924f63535d174637106620eae3 (patch)
tree6ea7249ad3996c6e750deb9814991e9005887449 /includes/generic.h
parent6528f07c516efe4d3b344f01740067878d5d9a43 (diff)
Prlorf
Diffstat (limited to 'includes/generic.h')
-rw-r--r--includes/generic.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/includes/generic.h b/includes/generic.h
index 04c91fa..5abb92b 100644
--- a/includes/generic.h
+++ b/includes/generic.h
@@ -77,4 +77,12 @@ extern char verbosity;
void printm(int level, char * fmt, ...);
char ** split(char * s, char t);
+#ifndef MAX
+#define MAX(__a,__b) ((__a)<(__b)?(__b):(__a))
+#endif
+
+#ifndef MIN
+#define MIN(__a,__b) ((__a)>(__b)?(__b):(__a))
+#endif
+
#endif