23 lines
412 B
C
23 lines
412 B
C
|
#ifndef _LIMITS_H
|
||
|
#define _LIMITS_H 1
|
||
|
|
||
|
// https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html
|
||
|
|
||
|
#include <sys/cdefs.h>
|
||
|
|
||
|
__BEGIN_DECLS
|
||
|
|
||
|
// FIXME: What do I have to define here?
|
||
|
// glibc seems to only define numerical
|
||
|
// and posix constants
|
||
|
|
||
|
#if defined __GNUC__ && !defined _GCC_LIMITS_H_
|
||
|
#include_next <limits.h>
|
||
|
#else
|
||
|
#error "unsupported compiler"
|
||
|
#endif
|
||
|
|
||
|
__END_DECLS
|
||
|
|
||
|
#endif
|