1
0
Fork 0

Aparently MSVC doesn't like it this way.

This commit is contained in:
Erik Hofman 2021-04-16 14:44:03 +02:00
parent deab07d527
commit 303e518e87

View file

@ -237,14 +237,15 @@ FGIO::parse_port_config( const string_list& tokens, bool& o_ok )
}
if (tokens.size() < 4) {
#if FG_HAVE_DDS
SG_LOG( SG_IO, SG_ALERT, "Too few arguments for network protocol. At least 3 arguments required. " <<
"Usage: --" << protocol <<
#if FG_HAVE_DDS
"=(file|socket|serial|dds)" <<
"=(file|socket|serial|dds), (in|out|bi), hertz");
#else
"=(file|socket|serial)" <<
SG_LOG( SG_IO, SG_ALERT, "Too few arguments for network protocol. At least 3 arguments required. " <<
"Usage: --" << protocol <<
"=(file|socket|serial), (in|out|bi), hertz");
#endif
", (in|out|bi), hertz");
delete io;
return NULL;
}