From 889e73614f3fbb2911ce47235eb0b3477adf31a6 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 28 Sep 2017 12:30:21 +0200 Subject: [PATCH] fix(CallLog): bad endif --- coreapi/call_log.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/coreapi/call_log.c b/coreapi/call_log.c index 43b4d4c44..0933612b3 100644 --- a/coreapi/call_log.c +++ b/coreapi/call_log.c @@ -21,14 +21,16 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include -#if defined(SQLITE_STORAGE_ENABLED) && !defined(_WIN32) && !defined(__ANDROID__) && !defined(__QNXNTO__) - #include - #include - #include -#endif +#ifdef SQLITE_STORAGE_ENABLED + #if defined(_WIN32) && !defined(__ANDROID__) && !defined(__QNXNTO__) + #include + #include + #include + #endif -#define MAX_PATH_SIZE 1024 #include "sqlite3.h" + + #define MAX_PATH_SIZE 1024 #endif #include "c-wrapper/c-wrapper.h"