From: Benjamin Kramer Date: Tue, 17 Nov 2009 14:02:16 +0000 (+0000) Subject: Make test header independent so it doesn't fail on freebsd. I hope this doesn't X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=947e00db0767596711f8571a5d276269043a2331;p=clang Make test header independent so it doesn't fail on freebsd. I hope this doesn't hurt the intention of the test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89096 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Sema/wchar.c b/test/Sema/wchar.c index 9976aa8bb4..e201c7e491 100644 --- a/test/Sema/wchar.c +++ b/test/Sema/wchar.c @@ -1,8 +1,8 @@ // RUN: clang %s -fsyntax-only -Xclang -verify // RUN: clang %s -fsyntax-only -fshort-wchar -Xclang -verify -DSHORT_WCHAR - -#include - + +typedef __WCHAR_TYPE__ wchar_t; + #if defined(_WIN32) || defined(_M_IX86) || defined(__CYGWIN__) \ || defined(_M_X64) || defined(SHORT_WCHAR) #define WCHAR_T_TYPE unsigned short