diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-03-23 09:34:00 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-03-23 09:34:00 -0700 |
commit | b0115665b0f33971f1b7077740d51e155583cec0 (patch) | |
tree | 644f3aa2c83b827ca2694e4498b4a69256f9c7bb | |
parent | 3acf438407f98275b6afd74bc935ce52c8dbd444 (diff) | |
download | pdfium-chromium/2351.tar.xz |
Try to make a NOTREACHED definition suitable for win8.chromium/2351chromium/2350chromium/2349chromium/2348chromium/2347chromium/2346chromium/2345chromium/2344chromium/2343
See http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_gn_rel/builds/5674
Testing this is a two-step process: land CL to pdfium, then try DEPS roll
in chromium against this version on the win8 trybots.
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1004733006
-rw-r--r-- | third_party/base/logging.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/base/logging.h b/third_party/base/logging.h index d24f93b2a1..98ed9c5da0 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_ |