diff --git a/src/utils.h b/src/utils.h index 4b036a5b0..986b059f6 100644 --- a/src/utils.h +++ b/src/utils.h @@ -12,6 +12,10 @@ #define MAX(x,y) ((x) < (y) ? (y) : (x)) #endif +#ifndef MIN +#define MIN(x,y) ((x) > (y) ? (y) : (x)) +#endif + boost::posix_time::ptime ptEpoch(); int iToSeconds(boost::posix_time::ptime ptWhen); boost::posix_time::ptime ptFromSeconds(int iSeconds);