Update time.cpp

This commit is contained in:
Kjell Hedström 2017-01-08 14:01:38 -07:00 committed by GitHub
parent a04b17abb5
commit c71349ac3d

View File

@ -107,7 +107,10 @@ namespace g3 {
const auto kNanos = 1000000000;
ts ->tv_sec = now_ns / kNanos;
ts ->tv_nsec = now_ns % kNanos;
#ifdef TIME_UTC
return TIME_UTC;
#endif
return 1;
}