1 //
2 // Copyright 2016 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 // logging.h: Compatiblity hacks for importing Chromium's base/numerics.
7 
8 #ifndef BASE_LOGGING_H_
9 #define BASE_LOGGING_H_
10 
11 #include "common/debug.h"
12 
13 #ifndef CHECK
14 #define CHECK(X) ASSERT(X)
15 #endif
16 
17 // Unfortunately ANGLE relies on ASSERT being an empty statement, which these libs don't respect.
18 #ifndef NOTREACHED
19 #define NOTREACHED() UNREACHABLE()
20 #endif
21 
22 #endif  // BASE_LOGGING_H_
23