diff --git a/tools/shaderc/shaderc_hlsl.cpp b/tools/shaderc/shaderc_hlsl.cpp index b40e92a7f..f40c5d6d8 100644 --- a/tools/shaderc/shaderc_hlsl.cpp +++ b/tools/shaderc/shaderc_hlsl.cpp @@ -7,9 +7,11 @@ #if SHADERC_CONFIG_HLSL -//#define __REQUIRED_RPCNDR_H_VERSION__ 475 -//#define __in -//#define __out +#if defined(__MINGW32__) +# define __REQUIRED_RPCNDR_H_VERSION__ 475 +# define __in +# define __out +#endif // defined(__MINGW32__) #include #include