summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/single-token-macro.c
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
commit1fce16934fac77965322f55a8e4459e21f8285b6 (patch)
tree88db036c83154d7bc7d2645ebfa0d0e853565a71 /clang/test/PCH/single-token-macro.c
parentf6f42cac3fa294aba6225c749165486bf6142135 (diff)
downloadbcm5719-llvm-1fce16934fac77965322f55a8e4459e21f8285b6.tar.gz
bcm5719-llvm-1fce16934fac77965322f55a8e4459e21f8285b6.zip
Update clang/test/PCH/single-token-macro.c corresponding to r206791.
__stdcall is defined as __attribute__((__stdcall__)) for targeting mingw32. llvm-svn: 206870
Diffstat (limited to 'clang/test/PCH/single-token-macro.c')
-rw-r--r--clang/test/PCH/single-token-macro.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/PCH/single-token-macro.c b/clang/test/PCH/single-token-macro.c
index 52873bfc244..aa02f65f78b 100644
--- a/clang/test/PCH/single-token-macro.c
+++ b/clang/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
OpenPOWER on IntegriCloud