Commit f0468337 authored by Wescoeur's avatar Wescoeur
Browse files

fix(SipLogin): static struct init doesn't work with tags in C++

parent 670a5751
......@@ -87,18 +87,6 @@ static int sip_login_do_logout(SipSetupContext * ctx){
}
/* a simple SipSetup built-in plugin to allow specify the user/password for proxy config at runtime*/
#ifndef _MSC_VER
SipSetup linphone_sip_login={
.name="SipLogin",
.capabilities=SIP_SETUP_CAP_LOGIN,
.init_instance=sip_login_init_instance,
.login_account=sip_login_do_login,
.logout_account=sip_login_do_logout
};
#else
SipSetup linphone_sip_login={
"SipLogin",
SIP_SETUP_CAP_LOGIN,
......@@ -119,7 +107,3 @@ SipSetup linphone_sip_login={
NULL,
NULL
};
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment