compile on windows

This commit is contained in:
jed
2012-06-05 14:06:21 -07:00
parent 79cc39f902
commit 6559655218
7 changed files with 52 additions and 13 deletions

View File

@@ -19,6 +19,10 @@
#define MIN(x,y) ((x) > (y) ? (y) : (x))
#endif
#ifdef WIN32
extern uint64_t htobe64(uint64_t value);
#endif
boost::posix_time::ptime ptEpoch();
int iToSeconds(boost::posix_time::ptime ptWhen);
boost::posix_time::ptime ptFromSeconds(int iSeconds);