mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-03 19:15:30 +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 {
|
||||
struct tm LT;
|
||||
__time64_t OurTime = this->toEpochTime();
|
||||
errno_t Error = ::_localtime64_s(<, &OurTime);
|
||||
int Error = ::_localtime64_s(<, &OurTime);
|
||||
assert(!Error);
|
||||
|
||||
char Buffer[25];
|
||||
|
Loading…
x
Reference in New Issue
Block a user