mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-26 08:00:35 +08:00
#ifdef for GCC-specific attribute
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user