mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-28 06:29:45 +00:00
Looks like some versions of mingw don't have errno_t. Use int.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186092 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
318b7cc7f1
commit
978e17e15d
@ -33,7 +33,7 @@ TimeValue TimeValue::now() {
|
|||||||
std::string TimeValue::str() const {
|
std::string TimeValue::str() const {
|
||||||
struct tm LT;
|
struct tm LT;
|
||||||
__time64_t OurTime = this->toEpochTime();
|
__time64_t OurTime = this->toEpochTime();
|
||||||
errno_t Error = ::_localtime64_s(<, &OurTime);
|
int Error = ::_localtime64_s(<, &OurTime);
|
||||||
assert(!Error);
|
assert(!Error);
|
||||||
|
|
||||||
char Buffer[25];
|
char Buffer[25];
|
||||||
|
Loading…
Reference in New Issue
Block a user