Index: third_party/base/logging.h |
diff --git a/third_party/base/logging.h b/third_party/base/logging.h |
index d24f93b2a12f46b6c3ec448ae5f91ac2552641bb..98ed9c5da0059d40ccd26d82fd2a0468053da4c9 100644 |
--- a/third_party/base/logging.h |
+++ b/third_party/base/logging.h |
@@ -5,6 +5,7 @@ |
#ifndef PDFIUM_THIRD_PARTY_BASE_LOGGING_H_ |
#define PDFIUM_THIRD_PARTY_BASE_LOGGING_H_ |
+#include <assert.h> |
#include <stdlib.h> |
#define CHECK(condition) \ |
@@ -13,6 +14,6 @@ |
*(reinterpret_cast<volatile char*>(NULL) + 42) = 0x42; \ |
} |
-#define NOTREACHED() abort() |
+#define NOTREACHED() assert(false) |
#endif // PDFIUM_THIRD_PARTY_BASE_LOGGING_H_ |