ams: update to build with gcc10/c++20
This commit is contained in:
1 parent
17b6bcfd37
commit
492a9e1849
87 files changed
+361
-322
No files matched your search
@@ -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