Fix some incorrect typing with the NULL->nullptr conversion for Windows

This commit is contained in:
teejusb
2019-06-22 23:16:10 -07:00
parent f230d39634
commit f08d7d9f68
4 changed files with 7 additions and 6 deletions
+3 -2
View File
@@ -50,7 +50,7 @@ static const struct ExceptionLookup {
{ EXCEPTION_INVALID_HANDLE, "Invalid handle" },
{ EXCEPTION_STACK_OVERFLOW, "Stack overflow" },
{ 0xe06d7363, "Unhandled Microsoft C++ Exception", },
{ nullptr },
{ 0 },
};
static const char *LookupException( DWORD code )
@@ -540,7 +540,8 @@ void CrashHandler::do_backtrace( const void **buf, size_t size,
// Trigger the crash handler. This works even in the debugger.
static void NORETURN debug_crash()
{
__try {
// __try {
#if defined(__MSC_VER)
__asm xor ebx,ebx
__asm mov eax,dword ptr [ebx]
// __asm mov dword ptr [ebx],eax