//===----------------------------------------------------------------------===//
// Include the generic Unix implementation
-#include "../Unix/Unix.cpp"
+#include "../Unix/TimeValue.cpp"
namespace llvm {
using namespace sys;
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");
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");