Browse Source
LIB-14 Android build: Always include android/log.h not just on debug
pull/6/head
Hussein Kasem
4 years ago
No known key found for this signature in database
GPG Key ID: 9E61B9BC790E6B02
1 changed files with
3 additions and
4 deletions
-
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; \ |
|
|