diff options
Diffstat (limited to 'llvm/lib/Support/Unix/TimeValue.inc')
-rw-r--r-- | llvm/lib/Support/Unix/TimeValue.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Support/Unix/TimeValue.inc b/llvm/lib/Support/Unix/TimeValue.inc index 5cf5a9d44ed..df8558bf8be 100644 --- a/llvm/lib/Support/Unix/TimeValue.inc +++ b/llvm/lib/Support/Unix/TimeValue.inc @@ -48,7 +48,8 @@ TimeValue TimeValue::now() { } return TimeValue( - static_cast<TimeValue::SecondsType>( the_time.tv_sec + PosixZeroTime.seconds_ ), + static_cast<TimeValue::SecondsType>( the_time.tv_sec + + PosixZeroTimeSeconds ), static_cast<TimeValue::NanoSecondsType>( the_time.tv_usec * NANOSECONDS_PER_MICROSECOND ) ); } |