From: Biswapriyo Nath <nathbappai@gmail.com> This fixes compiler error in ppsspp project. error: cannot initialize a parameter of type 'D3D11_RLDO_FLAGS' with an rvalue of type 'int' Reported in https://github.com/mingw-w64/mingw-w64/issues/157 --- include/d3d11sdklayers.idl | 1 + 1 file changed, 1 insertion(+) diff --git a/include/d3d11sdklayers.idl b/include/d3d11sdklayers.idl index 843e97860d9..a9ee51cad60 100644 --- a/include/d3d11sdklayers.idl +++ b/include/d3d11sdklayers.idl @@ -1198,6 +1198,7 @@ typedef enum D3D11_RLDO_FLAGS { D3D11_RLDO_SUMMARY = 1, D3D11_RLDO_DETAIL = 2 } D3D11_RLDO_FLAGS; +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D11_RLDO_FLAGS)") typedef struct D3D11_MESSAGE { D3D11_MESSAGE_CATEGORY Category; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9967