mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-01 06:34:06 +08:00
#ifdef for GCC-specific attribute
This commit is contained in:
parent
3acf0be231
commit
bd27ab02ac
@ -50,7 +50,9 @@ leave:
|
||||
return res;
|
||||
}
|
||||
|
||||
#if __GNUC__
|
||||
__attribute__((noreturn))
|
||||
#endif
|
||||
void die(int status)
|
||||
{
|
||||
lowsyslog("Now I am dead x_x %i\n", status);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user