From 54875050e24319dd8c7db6b8dbe5abea8f6ff3d6 Mon Sep 17 00:00:00 2001 From: Hussein Kasem Date: Mon, 29 Mar 2021 22:45:12 +0200 Subject: [PATCH] LIB-14 Android build: Always include android/log.h not just on debug --- pEpLog.hh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pEpLog.hh b/pEpLog.hh index 16854bf..c5ea717 100644 --- a/pEpLog.hh +++ b/pEpLog.hh @@ -6,6 +6,9 @@ #include #include +#ifdef ANDROID + #include +#endif // pEpLog // ====== @@ -31,10 +34,6 @@ #ifdef NDEBUG #define pEpLog(msg) do{}while(0) #else - #ifdef ANDROID - #include - #endif - #define pEpLog(msg) \ do { \ std::stringstream msg_ss; \