mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 15:03:34 +00:00
- Introduce portable sched_getcpu() api - Support GCC's __target_clones__ feature - Make fma() go faster on x86 in default mode - Remove some asan checks from core libraries - WinMain() now ensures $HOME and $USER are defined
48 lines
943 B
C++
48 lines
943 B
C++
// -*- C++ -*-
|
|
//===--------------------------- limits.h ---------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef _LIBCPP_LIMITS_H
|
|
#define _LIBCPP_LIMITS_H
|
|
|
|
/*
|
|
limits.h synopsis
|
|
|
|
Macros:
|
|
|
|
CHAR_BIT
|
|
SCHAR_MIN
|
|
SCHAR_MAX
|
|
UCHAR_MAX
|
|
CHAR_MIN
|
|
CHAR_MAX
|
|
MB_LEN_MAX
|
|
SHRT_MIN
|
|
SHRT_MAX
|
|
USHRT_MAX
|
|
INT_MIN
|
|
INT_MAX
|
|
UINT_MAX
|
|
LONG_MIN
|
|
LONG_MAX
|
|
ULONG_MAX
|
|
LLONG_MIN // C99
|
|
LLONG_MAX // C99
|
|
ULLONG_MAX // C99
|
|
|
|
*/
|
|
|
|
#include "third_party/libcxx/__config"
|
|
|
|
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
|
#pragma GCC system_header
|
|
#endif
|
|
|
|
#include "libc/isystem/limits.h"
|
|
|
|
#endif // _LIBCPP_LIMITS_H
|