Removed unnecessary cplusplus check

This commit is contained in:
Lorenz Meier 2013-05-21 10:17:37 +02:00
parent e655c0fc57
commit 5d9512eb79
1 changed files with 0 additions and 4 deletions

View File

@ -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
}