diff --git a/include/d3d11shader.h b/include/d3d11shader.h index 501d01ee84a..a7441508146 100644 --- a/include/d3d11shader.h +++ b/include/d3d11shader.h @@ -21,6 +21,11 @@ #include "d3dcommon.h" +/* If not defined set d3dcompiler_47 by default. */ +#ifndef D3D_COMPILER_VERSION +#define D3D_COMPILER_VERSION 47 +#endif + /* These are defined as version-neutral in d3dcommon.h */ typedef D3D_CBUFFER_TYPE D3D11_CBUFFER_TYPE;