aboutsummaryrefslogtreecommitdiff
path: root/more-hdrs/machine/limits.h
diff options
context:
space:
mode:
Diffstat (limited to 'more-hdrs/machine/limits.h')
-rw-r--r--more-hdrs/machine/limits.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/more-hdrs/machine/limits.h b/more-hdrs/machine/limits.h
new file mode 100644
index 00000000000..67d35383bf5
--- /dev/null
+++ b/more-hdrs/machine/limits.h
@@ -0,0 +1,11 @@
+/* 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__)
+#include <ppc/limits.h>
+#elif defined (__i386__)
+#include <i386/limits.h>
+#else
+#error architecture not supported
+#endif