summaryrefslogtreecommitdiff
path: root/test/PCH
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-04-22 08:16:58 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-04-22 08:16:58 +0000
commit7910e52155ce9de43aac2ed8c73954427f9051a0 (patch)
tree7371326cb23cd692228e2628c6f411fea9c42d4f /test/PCH
parent2e5043a88c3d0d7c11178c07d2d436822b959e9a (diff)
downloadclang-7910e52155ce9de43aac2ed8c73954427f9051a0.tar.gz
clang-7910e52155ce9de43aac2ed8c73954427f9051a0.tar.bz2
clang-7910e52155ce9de43aac2ed8c73954427f9051a0.tar.xz
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
Diffstat (limited to 'test/PCH')
-rw-r--r--test/PCH/single-token-macro.c5
1 files changed, 5 insertions, 0 deletions
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