Add MIN to utils.

This commit is contained in:
Arthur Britto
2012-05-01 00:34:42 -07:00
parent fc2ce4ea35
commit 5e3e41bd09

View File

@@ -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);