assert __THROW fix for Linux (#1575)

* assert __THROW fix for Linux

* Add check for Linux in changed definition
This commit is contained in:
RaelCappra 2022-09-25 13:15:36 -03:00 committed by GitHub
parent da677682cd
commit 50d6836b4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,6 +64,8 @@ u32 func_80001F8C(void);
u32 Locale_IsRegionNative(void); u32 Locale_IsRegionNative(void);
#ifdef __WIIU__ #ifdef __WIIU__
void _assert(const char* exp, const char* file, s32 line); 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__) #elif !defined(__APPLE__) && !defined(__SWITCH__)
void __assert(const char* exp, const char* file, s32 line); void __assert(const char* exp, const char* file, s32 line);
#endif #endif