mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-13 10:42:56 +01:00
Update time.cpp
This commit is contained in:
parent
a04b17abb5
commit
c71349ac3d
@ -107,7 +107,10 @@ namespace g3 {
|
|||||||
const auto kNanos = 1000000000;
|
const auto kNanos = 1000000000;
|
||||||
ts ->tv_sec = now_ns / kNanos;
|
ts ->tv_sec = now_ns / kNanos;
|
||||||
ts ->tv_nsec = now_ns % kNanos;
|
ts ->tv_nsec = now_ns % kNanos;
|
||||||
return TIME_UTC;
|
#ifdef TIME_UTC
|
||||||
|
return TIME_UTC;
|
||||||
|
#endif
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user