summaryrefslogtreecommitdiffstats
path: root/base/bzip2_error_handler.cc
blob: 215c0c0841d76028172605c37c48c717161a5c6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/logging.h"

// We define BZ_NO_STDIO in third_party/bzip2 to remove its internal STDERR
// error reporting.  This requires us to export our own error handler.
extern "C"
void bz_internal_error(int errcode) {
  CHECK(false) << "bzip2 internal error: " << errcode;
}