From: NAKAMURA Takumi Date: Wed, 1 Feb 2012 14:09:19 +0000 (+0000) Subject: test/Modules/compiler_builtins.m: Appease Cygwin to add -D__need_wint_t. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9dc01f5f9ca379d378dfd6a225391497ef2447e3;p=clang test/Modules/compiler_builtins.m: Appease Cygwin to add -D__need_wint_t. On Cygwin, at first, is included without __need_wint_t. Next, is included with __need_wint_t, though Modules feature would not process 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 --- 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;