[llvm-commits] CVS: llvm/lib/System/Unix/TimeValue.cpp 
    Reid Spencer 
    reid at x10sys.com
       
    Sun Nov 14 20:43:21 PST 2004
    
    
  
Changes in directory llvm/lib/System/Unix:
TimeValue.cpp updated: 1.3 -> 1.4
---
Log message:
Make it actually compile on Solaris.
---
Diffs of the changes:  (+1 -1)
Index: llvm/lib/System/Unix/TimeValue.cpp
diff -u llvm/lib/System/Unix/TimeValue.cpp:1.3 llvm/lib/System/Unix/TimeValue.cpp:1.4
--- llvm/lib/System/Unix/TimeValue.cpp:1.3	Sun Nov 14 22:36:35 2004
+++ llvm/lib/System/Unix/TimeValue.cpp	Sun Nov 14 22:42:34 2004
@@ -37,7 +37,7 @@
 
 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");
 
    
    
More information about the llvm-commits
mailing list