Add a MAX to utils.

This commit is contained in:
Arthur Britto
2012-04-30 13:19:17 -07:00
parent fe60a78882
commit e6586de079

View File

@@ -8,6 +8,10 @@
#define nothing() do {} while (0)
#ifndef MAX
#define MAX(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);