From e9da222f2fdd7824bfbe573d5ea321369988851d Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 16 Nov 2011 22:40:57 +0000 Subject: 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 --- compiler-rt/SDKs/darwin/usr/include/limits.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 compiler-rt/SDKs/darwin/usr/include/limits.h (limited to 'compiler-rt/SDKs/darwin/usr/include/limits.h') 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__ */ -- cgit v1.2.3