diff options
Diffstat (limited to 'tool/headers/machine')
-rw-r--r-- | tool/headers/machine/limits.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tool/headers/machine/limits.h b/tool/headers/machine/limits.h new file mode 100644 index 000000000..d52080f5e --- /dev/null +++ b/tool/headers/machine/limits.h @@ -0,0 +1,13 @@ +/* This is the `system' limits.h, independent of any particular + compiler. GCC provides its own limits.h which can be found in + /usr/lib/gcc, although it is not very informative. + This file is public domain. */ +#if defined (__ppc__) || defined (__ppc64__) +#include <ppc/limits.h> +#elif defined (__i386__) || defined(__x86_64__) +#include <i386/limits.h> +#elif defined (__arm__) +#include <arm/limits.h> +#else +#error architecture not supported +#endif |