[*] Solve NT build regression introduced in a Linux commit

This commit is contained in:
Reece Wilson 2022-08-07 23:42:13 +01:00
parent da70053aab
commit 5b5b6fa920
2 changed files with 3 additions and 1 deletions

View File

@ -353,7 +353,6 @@ namespace Aurora::Console::ConsoleTTY
AuStaticCast<TTYConsole>(GetTTYConsole())->uxModeFlipped = true; // TODO?
}
void TTYConsole::NoncanonicalOnEnter()
{
AU_LOCK_GUARD(this->historyLock->AsWritable());

View File

@ -951,8 +951,11 @@ namespace Aurora::Threading::Threads
this->terminatedSignalLs_->Set();
}
// Great C++ ABI guys...
#if defined(AURORA_HAS_PTHREADS)
::longjmp(env, 1);
::pthread_exit(nullptr);
#endif
return true;
}