--- mingw-w64-headers/include/dxva2api.h | 2 ++ mingw-w64-headers/include/dxva2api.idl | 2 ++ 2 files changed, 4 insertions(+)
diff --git a/mingw-w64-headers/include/dxva2api.h b/mingw-w64-headers/include/dxva2api.h index 3ab4842..bb67f3c 100644 --- a/mingw-w64-headers/include/dxva2api.h +++ b/mingw-w64-headers/include/dxva2api.h @@ -35,6 +35,8 @@ typedef DWORD IDirect3DDevice9; typedef DWORD IDirect3DSurface9; typedef DWORD D3DFORMAT; typedef DWORD D3DPOOL; +#else +#include <d3d9.h> #endif #ifndef __REFERENCE_TIME_DEFINED #define __REFERENCE_TIME_DEFINED diff --git a/mingw-w64-headers/include/dxva2api.idl b/mingw-w64-headers/include/dxva2api.idl index c0fd3b0..5d8646f 100644 --- a/mingw-w64-headers/include/dxva2api.idl +++ b/mingw-w64-headers/include/dxva2api.idl @@ -12,6 +12,8 @@ typedef DWORD IDirect3DDevice9; typedef DWORD IDirect3DSurface9; typedef DWORD D3DFORMAT; typedef DWORD D3DPOOL; +cpp_quote("#else") +cpp_quote("#include <d3d9.h>") cpp_quote("#endif") cpp_quote("#ifndef __REFERENCE_TIME_DEFINED") -- 1.8.1.2 ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public