Merge pull request #357 from ggtakec/master

Fixed codes about clock_gettime for osx(3)
This commit is contained in:
Takeshi Nakatani 2016-02-07 17:30:23 +09:00
commit ac99df5c09

View File

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