From: Tim Northover Date: Thu, 7 Feb 2013 15:11:44 +0000 (+0000) Subject: Add AArch64 wchar definition to test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5024bf501a03bc9423476cb976bc4029dd9a56f5;p=clang Add AArch64 wchar definition to test This should allow it to pass if the default triple is AArch64 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174620 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Sema/wchar.c b/test/Sema/wchar.c index 8708aa0f65..816245f3c0 100644 --- a/test/Sema/wchar.c +++ b/test/Sema/wchar.c @@ -6,7 +6,7 @@ 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 -#elif defined(__arm) +#elif defined(__arm) || defined(__aarch64__) #define WCHAR_T_TYPE unsigned int #elif defined(__sun) || defined(__AuroraUX__) #define WCHAR_T_TYPE long