diff options
Diffstat (limited to 'base/logging.h')
-rw-r--r-- | base/logging.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/base/logging.h b/base/logging.h index b12defc..849de0e 100644 --- a/base/logging.h +++ b/base/logging.h @@ -703,7 +703,12 @@ const LogSeverity LOG_DCHECK = LOG_INFO; #define DCHECK_GE(val1, val2) DCHECK_OP(GE, >=, val1, val2) #define DCHECK_GT(val1, val2) DCHECK_OP(GT, > , val1, val2) +#if defined(OS_ANDROID) && !defined(OFFICIAL_BUILD) +// TODO(port): fix once "enough" works +#define NOTREACHED() LOG(ERROR) << "NOTREACHED()" +#else #define NOTREACHED() DCHECK(false) +#endif // Redefine the standard assert to use our nice log files #undef assert |