Make it actually compile on Solaris.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17815 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2004-11-15 04:42:44 +00:00
parent e660bd7296
commit 2e83ea5211
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@
//===----------------------------------------------------------------------===//
// Include the generic Unix implementation
#include "../Unix/Unix.cpp"
#include "../Unix/TimeValue.cpp"
namespace llvm {
using namespace sys;

View File

@ -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");

View File

@ -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");