Fixed codes about clock_gettime for osx(3)

This commit is contained in:
Takeshi Nakatani 2016-02-07 08:27:02 +00:00
parent cd04cb0875
commit f81e6103cb

View File

@ -46,6 +46,9 @@ using namespace std;
//-------------------------------------------------------------------
// Utility
//-------------------------------------------------------------------
#ifndef CLOCK_REALTIME
#define CLOCK_REALTIME 0
#endif
#ifndef CLOCK_MONOTONIC
#define CLOCK_MONOTONIC CLOCK_REALTIME
#endif