From 315efa1a84436c1983ba0d26a4766af95ce39093 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Mon, 15 Nov 2004 04:42:44 +0000 Subject: Make it actually compile on Solaris. llvm-svn: 17815 --- llvm/lib/System/Unix/TimeValue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/System/Unix') diff --git a/llvm/lib/System/Unix/TimeValue.cpp b/llvm/lib/System/Unix/TimeValue.cpp index 6b476c86cad..d140af9add7 100644 --- a/llvm/lib/System/Unix/TimeValue.cpp +++ b/llvm/lib/System/Unix/TimeValue.cpp @@ -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"); -- cgit v1.2.3