Expository comment submitted by Henrik Bach

llvm-svn: 18976
This commit is contained in:
Jeff Cohen 2004-12-16 04:06:56 +00:00
parent b63ff380f1
commit fc6ebc9cb7
1 changed files with 3 additions and 0 deletions

View 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