[PATCH 2/7] include: Define D3D_COMPILER_VERSION if it's not already defined.

Matteo Bruni mbruni at codeweavers.com
Tue Nov 12 12:47:24 CST 2019


Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
---
 include/d3dcompiler.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/d3dcompiler.h b/include/d3dcompiler.h
index 5151f94510a..bd1b3d1d44d 100644
--- a/include/d3dcompiler.h
+++ b/include/d3dcompiler.h
@@ -34,6 +34,10 @@ static const WCHAR D3DCOMPILER_DLL_W[] = {'d','3','d','c','o','m','p','i','l','e
 #define D3DCOMPILER_DLL_A  "d3dcompiler_47.dll"
 #define D3DCOMPILER_DLL    WINELIB_NAME_AW(D3DCOMPILER_DLL_)
 
+#ifndef D3D_COMPILER_VERSION
+#define D3D_COMPILER_VERSION 47
+#endif
+
 #define D3DCOMPILE_DEBUG                                0x00000001
 #define D3DCOMPILE_SKIP_VALIDATION                      0x00000002
 #define D3DCOMPILE_SKIP_OPTIMIZATION                    0x00000004
-- 
2.21.0




More information about the wine-devel mailing list