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

NAKAMURA Takumi geek4civic at gmail.com
Tue Apr 22 01:31:15 PDT 2014


Argiris, could you confirm my change wouldn't break your intentions, please?

2014-04-22 17:16 GMT+09:00 NAKAMURA Takumi <geek4civic at gmail.com>:
> 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
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list