[llvm-commits] CVS: llvm/lib/System/Win32/TimeValue.cpp

Jeff Cohen jeffc at jolt-lang.org
Wed Dec 15 20:07:08 PST 2004



Changes in directory llvm/lib/System/Win32:

TimeValue.cpp updated: 1.6 -> 1.7
---
Log message:

Expository comment submitted by Henrik Bach

---
Diffs of the changes:  (+3 -0)

Index: llvm/lib/System/Win32/TimeValue.cpp
diff -u llvm/lib/System/Win32/TimeValue.cpp:1.6 llvm/lib/System/Win32/TimeValue.cpp:1.7
--- llvm/lib/System/Win32/TimeValue.cpp:1.6	Tue Dec 14 22:28:44 2004
+++ llvm/lib/System/Win32/TimeValue.cpp	Wed Dec 15 22:06:56 2004
@@ -32,6 +32,9 @@
 
 std::string TimeValue::toString() const {
 #ifdef __MINGW
+  // This ban may be lifted by either:
+  // (i) a future MinGW version other than 1.0 inherents the __time64_t type, or
+  // (ii) configure tests for either the time_t or __time64_t type.
   time_t ourTime = time_t(this->toEpochTime());
   struct tm *lt = ::localtime(&ourTime);
 #else






More information about the llvm-commits mailing list