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