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