mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 09:14:36 +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:
|
case BUS_OBJERR:
|
||||||
strcpy( msgPtr, "Object-specific hardware error.\n" );
|
strcpy( msgPtr, "Object-specific hardware error.\n" );
|
||||||
break;
|
break;
|
||||||
|
# ifdef BUS_MCEERR_AR
|
||||||
case BUS_MCEERR_AR:
|
case BUS_MCEERR_AR:
|
||||||
strcpy( msgPtr, "Hardware memory error consumed on a machine check; action required.\n" );
|
strcpy( msgPtr, "Hardware memory error consumed on a machine check; action required.\n" );
|
||||||
break;
|
break;
|
||||||
|
# endif
|
||||||
|
# ifdef BUS_MCEERR_AO
|
||||||
case BUS_MCEERR_AO:
|
case BUS_MCEERR_AO:
|
||||||
strcpy( msgPtr, "Hardware memory error detected in process but not consumed; action optional.\n" );
|
strcpy( msgPtr, "Hardware memory error detected in process but not consumed; action optional.\n" );
|
||||||
break;
|
break;
|
||||||
|
# endif
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user