mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
Expository comment submitted by Henrik Bach
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18976 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -32,6 +32,9 @@ TimeValue TimeValue::now() {
|
|||||||
|
|
||||||
std::string TimeValue::toString() const {
|
std::string TimeValue::toString() const {
|
||||||
#ifdef __MINGW
|
#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());
|
time_t ourTime = time_t(this->toEpochTime());
|
||||||
struct tm *lt = ::localtime(&ourTime);
|
struct tm *lt = ::localtime(&ourTime);
|
||||||
#else
|
#else
|
||||||
|
@@ -32,6 +32,9 @@ TimeValue TimeValue::now() {
|
|||||||
|
|
||||||
std::string TimeValue::toString() const {
|
std::string TimeValue::toString() const {
|
||||||
#ifdef __MINGW
|
#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());
|
time_t ourTime = time_t(this->toEpochTime());
|
||||||
struct tm *lt = ::localtime(&ourTime);
|
struct tm *lt = ::localtime(&ourTime);
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user