mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Add MIN to utils.
This commit is contained in:
@@ -12,6 +12,10 @@
|
|||||||
#define MAX(x,y) ((x) < (y) ? (y) : (x))
|
#define MAX(x,y) ((x) < (y) ? (y) : (x))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef MIN
|
||||||
|
#define MIN(x,y) ((x) > (y) ? (y) : (x))
|
||||||
|
#endif
|
||||||
|
|
||||||
boost::posix_time::ptime ptEpoch();
|
boost::posix_time::ptime ptEpoch();
|
||||||
int iToSeconds(boost::posix_time::ptime ptWhen);
|
int iToSeconds(boost::posix_time::ptime ptWhen);
|
||||||
boost::posix_time::ptime ptFromSeconds(int iSeconds);
|
boost::posix_time::ptime ptFromSeconds(int iSeconds);
|
||||||
|
|||||||
Reference in New Issue
Block a user