Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
333ac018
Commit
333ac018
authored
Mar 13, 2015
by
Ghislain MARY
Browse files
va_copy is not available on Windows.
parent
1ee545b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
coreapi/linphonecore.c
View file @
333ac018
...
...
@@ -190,10 +190,16 @@ static void linphone_core_log_collection_handler(OrtpLogLevel level, const char
struct
stat
statbuf
;
if
(
liblinphone_log_func
!=
NULL
)
{
#ifndef WIN32
va_list
args_copy
;
va_copy
(
args_copy
,
args
);
liblinphone_log_func
(
level
,
fmt
,
args_copy
);
va_end
(
args_copy
);
#else
/* This works on 32 bits, luckily. */
/* TODO: va_copy is available in Visual Studio 2013. */
liblinphone_log_func
(
level
,
fmt
,
args
);
#endif
}
ortp_gettimeofday
(
&
tp
,
NULL
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment