diff options
author | Steve Block <steveblock@google.com> | 2012-01-09 22:50:36 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-01-09 22:50:36 +0000 |
commit | a9b84a7e0b3ecb389a62bc6abb8c2fea3a4a30a6 (patch) | |
tree | 92c7d164f17757d16298c176a80fb27a2da2fdba /include/cutils | |
parent | e7e7fac974617a5376f05d7a638d2a53094d3ac5 (diff) | |
download | core-a9b84a7e0b3ecb389a62bc6abb8c2fea3a4a30a6.tar.gz core-a9b84a7e0b3ecb389a62bc6abb8c2fea3a4a30a6.tar.bz2 core-a9b84a7e0b3ecb389a62bc6abb8c2fea3a4a30a6.zip |
Add ALOG version of LOG_ASSERT
This is now required by some projects.
Change-Id: If4015c6a9f2391b205d2886bcf7f6e51f371ce08
Diffstat (limited to 'include/cutils')
-rw-r--r-- | include/cutils/log.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cutils/log.h b/include/cutils/log.h index 88224bb02..139226f2a 100644 --- a/include/cutils/log.h +++ b/include/cutils/log.h @@ -347,6 +347,7 @@ extern "C" { #ifndef LOG_ASSERT #define LOG_ASSERT(cond, ...) LOG_FATAL_IF(!(cond), ## __VA_ARGS__) //#define LOG_ASSERT(cond) LOG_FATAL_IF(!(cond), "Assertion failed: " #cond) +#define ALOG_ASSERT LOG_ASSERT #endif // --------------------------------------------------------------------- |