2 //===----------------------------------------------------------------------===//
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 #ifndef _LIBCPP_CLIMITS
11 #define _LIBCPP_CLIMITS
40 #include <__assert> // all public C++ headers provide the assertion handler
45 #ifndef _LIBCPP_LIMITS_H
46 # error <climits> tried including <limits.h> but didn't find libc++'s <limits.h> header. \
47 This usually means that your header search paths are not configured properly. \
48 The header search paths should contain the C++ Standard Library headers before \
49 any C Standard Library, and you are probably using compiler flags that make that \
53 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
54 # pragma GCC system_header
57 #endif // _LIBCPP_CLIMITS