mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-24 19:54:22 -04:00
boot2: update for new sf semantics
This commit is contained in:
parent
f5c6736431
commit
204539664b
4 changed files with 54 additions and 3 deletions
|
@ -26,3 +26,12 @@ namespace ams {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
extern "C" {
|
||||
|
||||
/* Redefine C++ exception handlers. Requires wrap linker flag. */
|
||||
#define WRAP_ABORT_FUNC(func) void NORETURN __wrap_##func(void) { abort(); __builtin_unreachable(); }
|
||||
WRAP_ABORT_FUNC(__cxa_pure_virtual)
|
||||
#undef WRAP_ABORT_FUNC
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue