mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
fix(SipLogin): static struct init doesn't work with tags in C++
This commit is contained in:
parent
670a5751c9
commit
f0468337e4
1 changed files with 0 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue