summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/compiler_builtins.m
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-02-01 14:09:19 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-02-01 14:09:19 +0000
commitd8f100f3b96c55be5dade84f789cace0a98eb296 (patch)
tree61c4934ea01cc56fba19f02ee93b6383277ece2b /clang/test/Modules/compiler_builtins.m
parent53559c6aa09065c2e3ded9b5ea968daa1d472eb2 (diff)
downloadbcm5719-llvm-d8f100f3b96c55be5dade84f789cace0a98eb296.tar.gz
bcm5719-llvm-d8f100f3b96c55be5dade84f789cace0a98eb296.zip
test/Modules/compiler_builtins.m: Appease Cygwin to add -D__need_wint_t.
On Cygwin, at first, <stddef.h> is included without __need_wint_t. Next, <stddef.h> is included with __need_wint_t, though Modules feature would not process <stddef.h> twice. Then, wint_t is not found in system headers. llvm-svn: 149500
Diffstat (limited to 'clang/test/Modules/compiler_builtins.m')
-rw-r--r--clang/test/Modules/compiler_builtins.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Modules/compiler_builtins.m b/clang/test/Modules/compiler_builtins.m
index 63d9f954e78..5ec2e978b3e 100644
--- a/clang/test/Modules/compiler_builtins.m
+++ b/clang/test/Modules/compiler_builtins.m
@@ -1,5 +1,5 @@
// RUN: rm -rf %t
-// RUN: %clang -fsyntax-only -fmodules -fmodule-cache-path %t %s -Xclang -verify
+// RUN: %clang -fsyntax-only -fmodules -fmodule-cache-path %t -D__need_wint_t %s -Xclang -verify
@import _Builtin_stdlib.float_constants;
OpenPOWER on IntegriCloud