mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 02:26:05 +00:00

This header contains implementation specific constants. The compiler already provides its own limits.h with numerical limits conforming to freestanding ISO C. But it is missing extensions like POSIX, and does for example not include <linux/limits.h> which is expected on a Linux system, therefore, an LLVM libc implementation of limits.h is needed for hosted (__STDC_HOSTED__) environments. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D156961
18 lines
548 B
Modula-2
18 lines
548 B
Modula-2
//===-- C standard library header 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 LLVM_LIBC_LIMITS_H
|
|
#define LLVM_LIBC_LIMITS_H
|
|
|
|
#include <__llvm-libc-common.h>
|
|
#include <llvm-libc-macros/limits-macros.h>
|
|
|
|
%%public_api()
|
|
|
|
#endif // LLVM_LIBC_LIMITS_H
|