aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Unix/TimeValue.inc
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-15 04:42:44 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-15 04:42:44 +0000
commit2e83ea5211ce7ce404b9cf8c625ec289c16ea1b5 (patch)
tree28d74b18668a18d919b9b9cab7c1e7f4dcb7ce17 /lib/System/Unix/TimeValue.inc
parente660bd7296a638c47e35275d7f0659fdeaee8fce (diff)
Make it actually compile on Solaris.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17815 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Unix/TimeValue.inc')
-rw-r--r--lib/System/Unix/TimeValue.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Unix/TimeValue.inc b/lib/System/Unix/TimeValue.inc
index 6b476c86ca..d140af9add 100644
--- a/lib/System/Unix/TimeValue.inc
+++ b/lib/System/Unix/TimeValue.inc
@@ -37,7 +37,7 @@ std::string TimeValue::toString() {
TimeValue TimeValue::now() {
struct timeval the_time;
- ::timerclear(&the_time);
+ timerclear(&the_time);
if (0 != ::gettimeofday(&the_time,0))
ThrowErrno("Couldn't obtain time of day");