From 0cd07d1f86b7d547282d60e0af82c13cdd04fce7 Mon Sep 17 00:00:00 2001 From: "Ronan Abhamon (Windaube)" Date: Thu, 28 Sep 2017 12:27:07 +0200 Subject: [PATCH] fix(windaube): do not include Windows.h (avoid redefinitions) --- coreapi/call_log.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/coreapi/call_log.c b/coreapi/call_log.c index 499f3f582..43b4d4c44 100644 --- a/coreapi/call_log.c +++ b/coreapi/call_log.c @@ -21,15 +21,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include -#ifdef SQLITE_STORAGE_ENABLED - #ifndef _WIN32 - #if !defined(__ANDROID__) && !defined(__QNXNTO__) - #include - #include - #include - #endif -#else - #include +#if defined(SQLITE_STORAGE_ENABLED) && !defined(_WIN32) && !defined(__ANDROID__) && !defined(__QNXNTO__) + #include + #include + #include #endif #define MAX_PATH_SIZE 1024