From 7910e52155ce9de43aac2ed8c73954427f9051a0 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 22 Apr 2014 08:16:58 +0000 Subject: [PATCH] Update clang/test/PCH/single-token-macro.c corresponding to r206791. __stdcall is defined as __attribute__((__stdcall__)) for targeting mingw32. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206870 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/PCH/single-token-macro.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/PCH/single-token-macro.c b/test/PCH/single-token-macro.c index 52873bfc24..aa02f65f78 100644 --- a/test/PCH/single-token-macro.c +++ b/test/PCH/single-token-macro.c @@ -12,6 +12,11 @@ #ifndef HEADER #define HEADER +#ifdef __stdcall +// __stdcall is defined as __attribute__((__stdcall__)) for targeting mingw32. +#undef __stdcall +#endif + #define __stdcall #define STDCALL __stdcall -- 2.40.0