xref: /xnu-11417.101.15/bsd/machine/limits.h (revision e3723e1f17661b24996789d8afc084c0c3303b26)
1*e3723e1fSApple OSS Distributions /* This is the `system' limits.h, independent of any particular
2*e3723e1fSApple OSS Distributions  *  compiler.  GCC provides its own limits.h which can be found in
3*e3723e1fSApple OSS Distributions  *  /usr/lib/gcc, although it is not very informative.
4*e3723e1fSApple OSS Distributions  *  This file is public domain.  */
5*e3723e1fSApple OSS Distributions #ifndef _BSD_MACHINE_LIMITS_H_
6*e3723e1fSApple OSS Distributions #define _BSD_MACHINE_LIMITS_H_
7*e3723e1fSApple OSS Distributions 
8*e3723e1fSApple OSS Distributions #if defined (__i386__) || defined(__x86_64__)
9*e3723e1fSApple OSS Distributions #include <i386/limits.h>
10*e3723e1fSApple OSS Distributions #elif defined (__arm__) || defined (__arm64__)
11*e3723e1fSApple OSS Distributions #include <arm/limits.h>
12*e3723e1fSApple OSS Distributions #else
13*e3723e1fSApple OSS Distributions #error architecture not supported
14*e3723e1fSApple OSS Distributions #endif
15*e3723e1fSApple OSS Distributions 
16*e3723e1fSApple OSS Distributions #endif /* _BSD_MACHINE_LIMITS_H_ */
17