From 82286e695bfc17143ad98d11d86191a49ffa410e Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Sun, 20 Sep 2015 19:46:35 +0200 Subject: [PATCH] attempt to repair windows build --- coreapi/private.h | 8 ++++---- tester/complex_sip_call.c | 5 +++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/coreapi/private.h b/coreapi/private.h index ba8c93aa7..3766edb4d 100644 --- a/coreapi/private.h +++ b/coreapi/private.h @@ -970,15 +970,15 @@ void _linphone_core_codec_config_write(LinphoneCore *lc); #ifndef NB_MAX_CALLS #define NB_MAX_CALLS (10) #endif -void call_logs_read_from_config_file(LinphoneCore *lc); +LINPHONE_PUBLIC void call_logs_read_from_config_file(LinphoneCore *lc); void call_logs_write_to_config_file(LinphoneCore *lc); void linphone_core_call_log_storage_init(LinphoneCore *lc); void linphone_core_call_log_storage_close(LinphoneCore *lc); void linphone_core_store_call_log(LinphoneCore *lc, LinphoneCallLog *log); const MSList *linphone_core_get_call_history(LinphoneCore *lc); -void linphone_core_delete_call_history(LinphoneCore *lc); -void linphone_core_delete_call_log(LinphoneCore *lc, LinphoneCallLog *log); -int linphone_core_get_call_history_size(LinphoneCore *lc); +LINPHONE_PUBLIC void linphone_core_delete_call_history(LinphoneCore *lc); +LINPHONE_PUBLIC void linphone_core_delete_call_log(LinphoneCore *lc, LinphoneCallLog *log); +LINPHONE_PUBLIC int linphone_core_get_call_history_size(LinphoneCore *lc); int linphone_core_get_edge_bw(LinphoneCore *lc); int linphone_core_get_edge_ptime(LinphoneCore *lc); diff --git a/tester/complex_sip_call.c b/tester/complex_sip_call.c index c66e24e61..96e04d070 100644 --- a/tester/complex_sip_call.c +++ b/tester/complex_sip_call.c @@ -22,6 +22,11 @@ #include "lpconfig.h" #include "private.h" +#ifdef _MSC_VER +#define popen _popen +#define pclose _pclose +#endif + static FILE *sip_start(const char *senario, const char* dest_username, LinphoneAddress* dest_addres) { char *dest;