diff options
Diffstat (limited to 'lib/System/Win32/TimeValue.cpp')
-rw-r--r-- | lib/System/Win32/TimeValue.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/System/Win32/TimeValue.cpp b/lib/System/Win32/TimeValue.cpp index de8f267089..34a5df18ef 100644 --- a/lib/System/Win32/TimeValue.cpp +++ b/lib/System/Win32/TimeValue.cpp @@ -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 |