]> granicus.if.org Git - clang/commitdiff
Update clang/test/PCH/single-token-macro.c corresponding to r206791.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 22 Apr 2014 08:16:58 +0000 (08:16 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 22 Apr 2014 08:16:58 +0000 (08:16 +0000)
__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

index 52873bfc244191a61ea002559c8dd2bb4af46928..aa02f65f78b14fb3cb37d7ff3b9044b8aa3ac98d 100644 (file)
 #ifndef HEADER
 #define HEADER
 
+#ifdef __stdcall
+// __stdcall is defined as __attribute__((__stdcall__)) for targeting mingw32.
+#undef __stdcall
+#endif
+
 #define __stdcall
 #define STDCALL __stdcall