summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 4fe9eb5..803c49f 100644
--- a/src/util.h
+++ b/src/util.h
@@ -39,6 +39,11 @@ namespace Bu
39 b = tmp; 39 b = tmp;
40 } 40 }
41 41
42#ifdef WIN32
43 #warning: removing min and max win32 macros because of compile conflict
44 #undef min
45 #undef max
46#endif
42 /** 47 /**
43 * Finds the lesser of the two objects, objects passed in must be 48 * Finds the lesser of the two objects, objects passed in must be
44 * less-than-comparable. 49 * less-than-comparable.
@@ -90,7 +95,7 @@ namespace Bu
90 { 95 {
91 return b<a?a:b; 96 return b<a?a:b;
92 } 97 }
93 98
94 /** 99 /**
95 * Given three objects this finds the one between the other two. 100 * Given three objects this finds the one between the other two.
96 *@param a A value to test. 101 *@param a A value to test.