mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
212056367b
Changes: https://android.googlesource.com/platform/system/core/+log/android-7.1.2_r17..android-8.0.0_r4/adb Changes: https://android.googlesource.com/platform/system/core/+log/android-7.1.2_r17..android-8.0.0_r4/fastboot
12 lines
512 B
C
12 lines
512 B
C
--- base/include/android-base/logging.h.orig 2015-09-29 18:07:07 UTC
|
|
+++ base/include/android-base/logging.h
|
|
@@ -321,7 +321,7 @@ struct LogAbortAfterFullExpr {
|
|
// DCHECKs are debug variants of CHECKs only enabled in debug builds. Generally
|
|
// CHECK should be used unless profiling identifies a CHECK as being in
|
|
// performance critical code.
|
|
-#if defined(NDEBUG)
|
|
+#if defined(NDEBUG) || !defined(__ANDROID__)
|
|
static constexpr bool kEnableDChecks = false;
|
|
#else
|
|
static constexpr bool kEnableDChecks = true;
|