mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-01 07:11:45 +00:00
Make it actually compile on Solaris.
llvm-svn: 17815
This commit is contained in:
parent
2638dac5e9
commit
8d0de0688c
@ -12,7 +12,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// Include the generic Unix implementation
|
||||
#include "../Unix/Unix.cpp"
|
||||
#include "../Unix/TimeValue.cpp"
|
||||
|
||||
namespace llvm {
|
||||
using namespace sys;
|
||||
|
@ -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");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user