blob: e472a48bc11200423b9aa5642ef9f445805e8051 [file] [log] [blame]
openvcdiff311c7142008-08-26 19:29:25 +00001// Copyright 2008 Google Inc.
2// Author: Lincoln Smith
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16#include <config.h>
openvcdiff28db8072008-10-10 23:29:11 +000017#include <stdlib.h> // exit
openvcdiff311c7142008-08-26 19:29:25 +000018#include "logging.h"
19
20namespace open_vcdiff {
21
22bool g_fatal_error_occurred = false;
23
24static void DefaultExitFatal() { exit(1); }
25void (*ExitFatal)() = &DefaultExitFatal;
26
27} // namespace open_vcdiff