summaryrefslogtreecommitdiffstats
path: root/compiler-rt/SDKs/darwin/usr/include/limits.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-11-16 22:40:57 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-11-16 22:40:57 +0000
commite9da222f2fdd7824bfbe573d5ea321369988851d (patch)
tree9c7836d7e306f497e2b9911dc699992fe59968eb /compiler-rt/SDKs/darwin/usr/include/limits.h
parent7ccdb7c0ae1bfa0979b8ad05b346be2ab3411f85 (diff)
downloadbcm5719-llvm-e9da222f2fdd7824bfbe573d5ea321369988851d.tar.gz
bcm5719-llvm-e9da222f2fdd7824bfbe573d5ea321369988851d.zip
build/SDKs: Sketch a minimal stub SDK for Darwin.
- Motivation is explained in the README, but basically it is convenient to be able to build compiler-rt free standing. Since our external dependencies are so small, we can achieve this relatively easily by just stubbing out the declarations of the external dependencies. - This is in no way, shape, or form intended to be complete, it is just the minimal stubs necessary to support the stuff we use. llvm-svn: 144843
Diffstat (limited to 'compiler-rt/SDKs/darwin/usr/include/limits.h')
-rw-r--r--compiler-rt/SDKs/darwin/usr/include/limits.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/compiler-rt/SDKs/darwin/usr/include/limits.h b/compiler-rt/SDKs/darwin/usr/include/limits.h
new file mode 100644
index 00000000000..5495a784f12
--- /dev/null
+++ b/compiler-rt/SDKs/darwin/usr/include/limits.h
@@ -0,0 +1,23 @@
+/* ===-- limits.h - stub SDK header for compiler-rt -------------------------===
+ *
+ * The LLVM Compiler Infrastructure
+ *
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
+ *
+ * ===-----------------------------------------------------------------------===
+ *
+ * This is a stub SDK header file. This file is not part of the interface of
+ * this library nor an official version of the appropriate SDK header. It is
+ * intended only to stub the features of this header required by compiler-rt.
+ *
+ * ===-----------------------------------------------------------------------===
+ */
+
+#ifndef __LIMITS_H__
+#define __LIMITS_H__
+
+/* This is only here as a landing pad for the include_next from the compiler's
+ built-in limits.h. */
+
+#endif /* __LIMITS_H__ */
OpenPOWER on IntegriCloud