From cdcbc9581e06e2b82c4c50661093ee6df0befac8 Mon Sep 17 00:00:00 2001 From: Matteo Bruni Date: Tue, 12 Nov 2019 19:47:24 +0100 Subject: [PATCH] include: Define D3D_COMPILER_VERSION if it's not already defined. Signed-off-by: Matteo Bruni Signed-off-by: Alexandre Julliard --- 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