mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 17:59:06 +08:00
Removed unnecessary cplusplus check
This commit is contained in:
parent
e655c0fc57
commit
5d9512eb79
@ -114,9 +114,5 @@ __EXPORT void mavlink_vasprintf(int _fd, int severity, const char *fmt, ...)
|
||||
char text[MAVLINK_LOG_MAXLEN + 1];
|
||||
vsnprintf(text, sizeof(text), fmt, ap);
|
||||
va_end(ap);
|
||||
#ifdef __cplusplus
|
||||
::ioctl(_fd, severity, (unsigned long)&text[0]);
|
||||
#else
|
||||
ioctl(_fd, severity, (unsigned long)&text[0]);
|
||||
#endif
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user