blob: 94a91089e564fbee04fd9492c621e488c537b637 [file] [log] [blame]
license.botf003cfe2008-08-24 09:55:55 +09001// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
deanm@google.comb22ffc52008-07-31 01:15:12 +09004
5#include "base/logging.h"
6
7// We define BZ_NO_STDIO in third_party/bzip2 to remove its internal STDERR
8// error reporting. This requires us to export our own error handler.
deanm@google.comfecef532008-07-31 02:47:30 +09009extern "C"
deanm@google.comb22ffc52008-07-31 01:15:12 +090010void bz_internal_error(int errcode) {
11 CHECK(false) << "bzip2 internal error: " << errcode;
12}
license.botf003cfe2008-08-24 09:55:55 +090013