cleanup: Add and use macro MIN().
[cparser] / adt / util.h
index 403a14f..05c40f1 100644 (file)
@@ -39,6 +39,8 @@
 #define endof(x) ((x) + lengthof(x))
 
 #undef MAX
+#undef MIN
 #define MAX(a, b) ((a) > (b) ? (a) : (b))
+#define MIN(a, b) ((a) < (b) ? (a) : (b))
 
 #endif