Skip to content

Commit

Permalink
Update time.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Kjell Hedström authored Jan 8, 2017
1 parent a04b17a commit c71349a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/time.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ namespace g3 {
const auto kNanos = 1000000000;
ts ->tv_sec = now_ns / kNanos;
ts ->tv_nsec = now_ns % kNanos;
return TIME_UTC;
#ifdef TIME_UTC
return TIME_UTC;
#endif
return 1;
}


Expand Down

0 comments on commit c71349a

Please sign in to comment.