mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Check if BUS_MCEERR_AR and BUS_MCEERR_AO are defined.
This commit is contained in:
parent
f562ff780c
commit
838c0aaaa9
@ -792,12 +792,16 @@ static void CrashHandler( int signal, siginfo_t* info, void* /*ucontext*/ )
|
||||
case BUS_OBJERR:
|
||||
strcpy( msgPtr, "Object-specific hardware error.\n" );
|
||||
break;
|
||||
# ifdef BUS_MCEERR_AR
|
||||
case BUS_MCEERR_AR:
|
||||
strcpy( msgPtr, "Hardware memory error consumed on a machine check; action required.\n" );
|
||||
break;
|
||||
# endif
|
||||
# ifdef BUS_MCEERR_AO
|
||||
case BUS_MCEERR_AO:
|
||||
strcpy( msgPtr, "Hardware memory error detected in process but not consumed; action optional.\n" );
|
||||
break;
|
||||
# endif
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user