r206870 - Update clang/test/PCH/single-token-macro.c corresponding to r206791.

NAKAMURA Takumi geek4civic at gmail.com
Tue Apr 22 01:16:58 PDT 2014


Author: chapuni
Date: Tue Apr 22 03:16:58 2014
New Revision: 206870

URL: http://llvm.org/viewvc/llvm-project?rev=206870&view=rev
Log:
Update clang/test/PCH/single-token-macro.c corresponding to r206791.

__stdcall is defined as __attribute__((__stdcall__)) for targeting mingw32.

Modified:
    cfe/trunk/test/PCH/single-token-macro.c

Modified: cfe/trunk/test/PCH/single-token-macro.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/single-token-macro.c?rev=206870&r1=206869&r2=206870&view=diff
==============================================================================
--- cfe/trunk/test/PCH/single-token-macro.c (original)
+++ cfe/trunk/test/PCH/single-token-macro.c Tue Apr 22 03:16:58 2014
@@ -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
 





More information about the cfe-commits mailing list