146035553Spatrick// -*- C++ -*- 2*4bdff4beSrobert//===----------------------------------------------------------------------===// 346035553Spatrick// 446035553Spatrick// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 546035553Spatrick// See https://llvm.org/LICENSE.txt for license information. 646035553Spatrick// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 746035553Spatrick// 846035553Spatrick//===----------------------------------------------------------------------===// 946035553Spatrick 1046035553Spatrick#ifndef _LIBCPP_CLIMITS 1146035553Spatrick#define _LIBCPP_CLIMITS 1246035553Spatrick 1346035553Spatrick/* 1446035553Spatrick climits synopsis 1546035553Spatrick 1646035553SpatrickMacros: 1746035553Spatrick 1846035553Spatrick CHAR_BIT 1946035553Spatrick SCHAR_MIN 2046035553Spatrick SCHAR_MAX 2146035553Spatrick UCHAR_MAX 2246035553Spatrick CHAR_MIN 2346035553Spatrick CHAR_MAX 2446035553Spatrick MB_LEN_MAX 2546035553Spatrick SHRT_MIN 2646035553Spatrick SHRT_MAX 2746035553Spatrick USHRT_MAX 2846035553Spatrick INT_MIN 2946035553Spatrick INT_MAX 3046035553Spatrick UINT_MAX 3146035553Spatrick LONG_MIN 3246035553Spatrick LONG_MAX 3346035553Spatrick ULONG_MAX 3446035553Spatrick LLONG_MIN // C99 3546035553Spatrick LLONG_MAX // C99 3646035553Spatrick ULLONG_MAX // C99 3746035553Spatrick 3846035553Spatrick*/ 3946035553Spatrick 40*4bdff4beSrobert#include <__assert> // all public C++ headers provide the assertion handler 4146035553Spatrick#include <__config> 42*4bdff4beSrobert 4346035553Spatrick#include <limits.h> 4446035553Spatrick 45*4bdff4beSrobert#ifndef _LIBCPP_LIMITS_H 46*4bdff4beSrobert# error <climits> tried including <limits.h> but didn't find libc++'s <limits.h> header. \ 47*4bdff4beSrobert This usually means that your header search paths are not configured properly. \ 48*4bdff4beSrobert The header search paths should contain the C++ Standard Library headers before \ 49*4bdff4beSrobert any C Standard Library, and you are probably using compiler flags that make that \ 50*4bdff4beSrobert not be the case. 51*4bdff4beSrobert#endif 52*4bdff4beSrobert 5346035553Spatrick#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) 5446035553Spatrick# pragma GCC system_header 5546035553Spatrick#endif 5646035553Spatrick 5746035553Spatrick#endif // _LIBCPP_CLIMITS 58