Support building on Windows with Clang MSVC target

This commit is contained in:
Frederik Seiffert 2021-01-18 14:20:14 +01:00 committed by Frederik Seiffert
parent ece6fc97ff
commit 61709e6101
174 changed files with 991 additions and 320 deletions

View file

@ -85,10 +85,12 @@ static Class boxClass(int64_t foo)
}
- (void) rethrow
{
#if defined(WITH_UNWIND)
struct _Unwind_Exception *re = ex;
// We aren't allowed to hold onto the exception if it's been rethrown.
ex = 0;
_Unwind_Resume_or_Rethrow(re);
#endif
}
- (void) dealloc
{