return FAILED for win
This commit is contained in:
parent
bbf0d7a0d2
commit
a39f1271ec
@ -50,6 +50,7 @@ ReturnValue_t Clock::setClock(const timeval* time) {
|
|||||||
ReturnValue_t Clock::getClockMonotonic(timeval* time) {
|
ReturnValue_t Clock::getClockMonotonic(timeval* time) {
|
||||||
#if defined(PLATFORM_WIN)
|
#if defined(PLATFORM_WIN)
|
||||||
// TODO: Implement with std::chrono::steady_clock
|
// TODO: Implement with std::chrono::steady_clock
|
||||||
|
return returnvalue::FAILED;
|
||||||
#elif defined(PLATFORM_UNIX)
|
#elif defined(PLATFORM_UNIX)
|
||||||
timespec timeMonotonic;
|
timespec timeMonotonic;
|
||||||
int status = clock_gettime(CLOCK_MONOTONIC_RAW, &timeMonotonic);
|
int status = clock_gettime(CLOCK_MONOTONIC_RAW, &timeMonotonic);
|
||||||
|
Loading…
Reference in New Issue
Block a user