aboutsummaryrefslogtreecommitdiff
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
commit9dc01f5f9ca379d378dfd6a225391497ef2447e3 (patch)
tree7a71117bd074f117b83c65308d7e8f395f765b1f
parent8c8840d0499964418fd3d83a03687b0f4fc13090 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149500 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Modules/compiler_builtins.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Modules/compiler_builtins.m b/test/Modules/compiler_builtins.m
index 63d9f954e7..5ec2e978b3 100644
--- a/test/Modules/compiler_builtins.m
+++ b/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;