ams: update to build with gcc10/c++20
This commit is contained in:
@@ -182,6 +182,9 @@ extern "C" {
|
||||
|
||||
/* Custom abort handler, so that std::abort will trigger these. */
|
||||
void abort() {
|
||||
static ams::os::Mutex abort_lock(true);
|
||||
std::scoped_lock lk(abort_lock);
|
||||
|
||||
ams::AbortImpl();
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user