Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [1.8.1]

### Changed
- build for android using android NDK

## [1.8.0]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.0
1.8.1
8 changes: 6 additions & 2 deletions mei.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@
*****************************************************************************/
#ifdef ANDROID
#define LOG_TAG "libmei"
#include <cutils/log.h>
#define mei_msg(_me, fmt, ARGS...) ALOGV_IF((_me->log_level >= MEI_LOG_LEVEL_VERBOSE), fmt, ##ARGS)
#include <android/log_macros.h>
#define mei_msg(_me, fmt, ARGS...) \
((_me->log_level >= MEI_LOG_LEVEL_VERBOSE) \
? (void)ALOGV(fmt, ##ARGS) \
: (void)0)

#define mei_err(_me, fmt, ARGS...) ALOGE(fmt, ##ARGS)
#ifdef DEBUG
static inline void __dump_buffer(const char *buf)
Expand Down
Loading