1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00

msvc: avoid error about mixed ellipsis and cond

https://github.com/warmcat/libwebsockets/issues/3001
This commit is contained in:
Ogre Transporter 2023-11-07 06:30:25 +00:00 committed by Andy Green
parent 26c3f9a01b
commit 65f977c7de

View file

@ -812,11 +812,10 @@ lws_create_context(const struct lws_context_creation_info *info)
mbedtls_version_get_string(mbedtls_version);
#endif
lwsl_cx_notice(context,
#if defined(LWS_WITH_MBEDTLS)
"LWS: %s, MbedTLS-%s %s%s", library_version, mbedtls_version, opts_str, s);
lwsl_cx_notice(context, "LWS: %s, MbedTLS-%s %s%s", library_version, mbedtls_version, opts_str, s);
#else
"LWS: %s, %s%s", library_version, opts_str, s);
lwsl_cx_notice(context, "LWS: %s, %s%s", library_version, opts_str, s);
#endif
#if defined(LWS_WITH_NETWORK)