summaryrefslogtreecommitdiff
path: root/tool/headers/machine
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-03-06 17:26:18 +0000
committerJay Freeman <saurik@saurik.com>2008-03-06 17:26:18 +0000
commit294906ee694d21bb40a5ddc71d1cdb6278455f83 (patch)
tree15d1c6482bc2fedbabbea5002290db240f84c779 /tool/headers/machine
parent67d8a376ae087b3668b96f1affbab031827662cd (diff)
Committing all the headers I changed.
git-svn-id: http://svn.telesphoreo.org/trunk@161 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'tool/headers/machine')
-rw-r--r--tool/headers/machine/limits.h13
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