diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-11-16 22:40:57 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-11-16 22:40:57 +0000 |
commit | 6758892590ff3a56d800cb862d3b37f63ff941fa (patch) | |
tree | 9a1b1d42fab785a2f434122b3f8ee611e7c5e0d1 /SDKs/darwin/usr/include/limits.h | |
parent | 674aeef9abcb051403bcb1fb47399f28d6a8fd86 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144843 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'SDKs/darwin/usr/include/limits.h')
-rw-r--r-- | SDKs/darwin/usr/include/limits.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/SDKs/darwin/usr/include/limits.h b/SDKs/darwin/usr/include/limits.h new file mode 100644 index 000000000..5495a784f --- /dev/null +++ b/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__ */ |