Browse Source

LIB-14 Android build: Always include android/log.h not just on debug

pull/6/head
Hussein Kasem 4 years ago
parent
commit
54875050e2
No known key found for this signature in database GPG Key ID: 9E61B9BC790E6B02
  1. 7
      pEpLog.hh

7
pEpLog.hh

@ -6,6 +6,9 @@
#include <sstream> #include <sstream>
#include <thread> #include <thread>
#ifdef ANDROID
#include <android/log.h>
#endif
// pEpLog // pEpLog
// ====== // ======
@ -31,10 +34,6 @@
#ifdef NDEBUG #ifdef NDEBUG
#define pEpLog(msg) do{}while(0) #define pEpLog(msg) do{}while(0)
#else #else
#ifdef ANDROID
#include <android/log.h>
#endif
#define pEpLog(msg) \ #define pEpLog(msg) \
do { \ do { \
std::stringstream msg_ss; \ std::stringstream msg_ss; \

Loading…
Cancel
Save