diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2009-11-17 14:02:16 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2009-11-17 14:02:16 +0000 |
commit | 947e00db0767596711f8571a5d276269043a2331 (patch) | |
tree | a262ea6bb21ce21a378ae9d681b3b88daca1b872 | |
parent | 6ab25f482c6df53caf7a225028dc8bb7d12f0206 (diff) | |
download | clang-947e00db0767596711f8571a5d276269043a2331.tar.gz clang-947e00db0767596711f8571a5d276269043a2331.tar.bz2 clang-947e00db0767596711f8571a5d276269043a2331.tar.xz |
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
-rw-r--r-- | test/Sema/wchar.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <wchar.h> - + +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 |