[PATCH 4/5] d2d1: Add the ID2D1RenderTarget interface.

Jacek Caban jacek at codeweavers.com
Fri May 16 03:33:47 CDT 2014


Hi Henri,

On 05/16/14 09:59, Henri Verbeet wrote:
> diff --git a/dlls/d2d1/d2d1_main.c b/dlls/d2d1/d2d1_main.c
> index 9a389a2..d1e5e8f 100644
> --- a/dlls/d2d1/d2d1_main.c
> +++ b/dlls/d2d1/d2d1_main.c
> @@ -21,6 +21,9 @@
>  #include "wine/port.h"
>  #include "wine/debug.h"
>  
> +#include "winbase.h"
> +#include "winuser.h"
> +#undef DrawText

It's probably better to place such #undef in .idl file itself (inside cpp_quote). That's what we already do in quite a few places and it avoids the need for hacking every .c file using the header.

Jacek 





More information about the wine-devel mailing list