Expository comment submitted by Henrik Bach
authorJeff Cohen <jeffc@jolt-lang.org>
Thu, 16 Dec 2004 04:06:56 +0000 (04:06 +0000)
committerJeff Cohen <jeffc@jolt-lang.org>
Thu, 16 Dec 2004 04:06:56 +0000 (04:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18976 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Win32/TimeValue.cpp
lib/System/Win32/TimeValue.inc

index de8f267089dc2f73f4a98a33e23c6bbc7024671a..34a5df18ef33f23c1a308580436729ea1441c115 100644 (file)
@@ -32,6 +32,9 @@ TimeValue TimeValue::now() {
 
 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
index de8f267089dc2f73f4a98a33e23c6bbc7024671a..34a5df18ef33f23c1a308580436729ea1441c115 100644 (file)
@@ -32,6 +32,9 @@ TimeValue TimeValue::now() {
 
 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