From 5aa18ce2f9f814a41799e10b666c1d39afa2c2e8 Mon Sep 17 00:00:00 2001
From: Sylvain Berfini <sylvain.berfini@belledonne-communications.com>
Date: Tue, 14 Jun 2016 11:10:00 +0200
Subject: [PATCH] Replace old MSG_STORAGE_ENABLED and CALL_LOGS_STORAGE_ENABLED
 by SQL_STORAGE_ENABLED

---
 tester/call_tester.c    | 4 ++--
 tester/message_tester.c | 3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/tester/call_tester.c b/tester/call_tester.c
index a749cc19f7..842f9e0ff6 100644
--- a/tester/call_tester.c
+++ b/tester/call_tester.c
@@ -5994,7 +5994,7 @@ end:
 }
 
 
-#ifdef CALL_LOGS_STORAGE_ENABLED
+#ifdef SQLITE_STORAGE_ENABLED
 
 static void call_logs_if_no_db_set(void) {
 	LinphoneCoreManager* marie = linphone_core_manager_new("marie_rc");
@@ -6630,7 +6630,7 @@ test_t call_tests[] = {
 	TEST_NO_TAG("Call with RTP IO mode", call_with_rtp_io_mode),
 	TEST_NO_TAG("Call with generic NACK RTCP feedback", call_with_generic_nack_rtcp_feedback),
 	TEST_NO_TAG("Call with complex late offering", call_with_complex_late_offering),
-#ifdef CALL_LOGS_STORAGE_ENABLED
+#ifdef SQLITE_STORAGE_ENABLED
 	TEST_NO_TAG("Call log working if no db set", call_logs_if_no_db_set),
 	TEST_NO_TAG("Call log storage migration from rc to db", call_logs_migrate),
 	TEST_NO_TAG("Call log storage in sqlite database", call_logs_sqlite_storage),
diff --git a/tester/message_tester.c b/tester/message_tester.c
index fb2eede132..82d49378a8 100644
--- a/tester/message_tester.c
+++ b/tester/message_tester.c
@@ -23,7 +23,7 @@
 #include "liblinphone_tester.h"
 #include "lime.h"
 
-#ifdef MSG_STORAGE_ENABLED
+#ifdef SQLITE_STORAGE_ENABLED
 #include <sqlite3.h>
 #endif
 
@@ -1129,7 +1129,6 @@ static void lime_unit(void) {
 
 
 #endif /* HAVE_LIME */
-
 /*
  * Copy file "from" to file "to".
  * Destination file is truncated if existing.
-- 
GitLab