From 50d6836b4ad2b43c290eb956d530c1fe9f9f04a0 Mon Sep 17 00:00:00 2001 From: RaelCappra Date: Sun, 25 Sep 2022 13:15:36 -0300 Subject: [PATCH] assert __THROW fix for Linux (#1575) * assert __THROW fix for Linux * Add check for Linux in changed definition --- soh/include/functions.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/soh/include/functions.h b/soh/include/functions.h index a5e83eade..0e751530d 100644 --- a/soh/include/functions.h +++ b/soh/include/functions.h @@ -64,6 +64,8 @@ u32 func_80001F8C(void); u32 Locale_IsRegionNative(void); #ifdef __WIIU__ void _assert(const char* exp, const char* file, s32 line); +#elif defined(__linux__) +void __assert(const char* exp, const char* file, s32 line) __THROW; #elif !defined(__APPLE__) && !defined(__SWITCH__) void __assert(const char* exp, const char* file, s32 line); #endif