|
|
@ -27,8 +27,6 @@ |
|
|
|
#include <sys/resource.h> |
|
|
|
#include <sys/resource.h> |
|
|
|
#include <sys/time.h> |
|
|
|
#include <sys/time.h> |
|
|
|
#include <sys/types.h> |
|
|
|
#include <sys/types.h> |
|
|
|
#else |
|
|
|
|
|
|
|
typedef int pid_t; /* define for Windows compatibility */ |
|
|
|
|
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#include <boost/filesystem/path.hpp> |
|
|
|
#include <boost/filesystem/path.hpp> |
|
|
@ -109,7 +107,7 @@ inline void MilliSleep(int64_t n) |
|
|
|
#elif defined(HAVE_WORKING_BOOST_SLEEP) |
|
|
|
#elif defined(HAVE_WORKING_BOOST_SLEEP) |
|
|
|
boost::this_thread::sleep(boost::posix_time::milliseconds(n)); |
|
|
|
boost::this_thread::sleep(boost::posix_time::milliseconds(n)); |
|
|
|
#else |
|
|
|
#else |
|
|
|
//should never get here
|
|
|
|
//should never get here
|
|
|
|
#error missing boost sleep implementation |
|
|
|
#error missing boost sleep implementation |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|