From 68f8c454ecd09fc79b3ce14b595e7c16dde56c14 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Tue, 30 Mar 2021 20:09:55 +0200 Subject: [PATCH] d3d11: Use nameless unions. Signed-off-by: Jacek Caban Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- dlls/d3d11/Makefile.in | 1 - dlls/d3d11/device.c | 1 + dlls/d3d11/view.c | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/d3d11/Makefile.in b/dlls/d3d11/Makefile.in index 5f664007444..db9e40d2e60 100644 --- a/dlls/d3d11/Makefile.in +++ b/dlls/d3d11/Makefile.in @@ -1,7 +1,6 @@ MODULE = d3d11.dll IMPORTLIB = d3d11 IMPORTS = dxguid uuid dxgi wined3d -EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION EXTRADLLFLAGS = -mno-cygwin diff --git a/dlls/d3d11/device.c b/dlls/d3d11/device.c index 4c8aa8c854c..f154bfdf480 100644 --- a/dlls/d3d11/device.c +++ b/dlls/d3d11/device.c @@ -18,6 +18,7 @@ */ #define NONAMELESSUNION +#define WINE_NO_NAMELESS_EXTENSION #include "d3d11_private.h" WINE_DEFAULT_DEBUG_CHANNEL(d3d11); diff --git a/dlls/d3d11/view.c b/dlls/d3d11/view.c index 4393d6540e3..734c9619e5b 100644 --- a/dlls/d3d11/view.c +++ b/dlls/d3d11/view.c @@ -18,6 +18,7 @@ */ #define NONAMELESSUNION +#define WINE_NO_NAMELESS_EXTENSION #include "d3d11_private.h" WINE_DEFAULT_DEBUG_CHANNEL(d3d11);