diff options
author | Mike Stump <mrs@apple.com> | 2009-02-12 23:06:31 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-02-12 23:06:31 +0000 |
commit | 3855b9a8f05d3f6aba14dcd9aff3147eb8ff57bd (patch) | |
tree | d60fe6c19a17c22ede7786744e320fb48bbffa4f /test/Preprocessor/clang_headers.c | |
parent | 82320e94606cfb0f68c6049c070c3600f8df9081 (diff) |
Fix limits.h for linux, as glibc does a #include_next unless
_GCC_LIMITS_H_ is defined, when __GNUC__ is defined.
Also, we need to stay away from possible conflicts with header guards.
We should use CLANG_ to prefix all header guards.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64408 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/clang_headers.c')
-rw-r--r-- | test/Preprocessor/clang_headers.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Preprocessor/clang_headers.c b/test/Preprocessor/clang_headers.c new file mode 100644 index 0000000000..4fa6153459 --- /dev/null +++ b/test/Preprocessor/clang_headers.c @@ -0,0 +1,3 @@ +// RUN: clang -E %s + +#include <limits.h> |