From: José Fonseca Date: Mon, 23 Apr 2012 11:09:56 +0000 (+0100) Subject: Fix MSVC build. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=a8a501ab34dfa5e5448ea7ff6582df7a404197c0;p=apitrace Fix MSVC build. MSVC distinguishes between struct vs class in mangled C++ names. --- diff --git a/retrace/d3dretrace.hpp b/retrace/d3dretrace.hpp index 91b84fb..ebfa10a 100644 --- a/retrace/d3dretrace.hpp +++ b/retrace/d3dretrace.hpp @@ -29,7 +29,7 @@ #include "retrace.hpp" -class IDirect3DDevice9; +struct IDirect3DDevice9; extern const char *g_szD3D9DllName; diff --git a/retrace/d3dstate.hpp b/retrace/d3dstate.hpp index c0ef017..c607ed2 100644 --- a/retrace/d3dstate.hpp +++ b/retrace/d3dstate.hpp @@ -27,7 +27,7 @@ #define _D3DSTATE_HPP_ -class IDirect3DDevice9; +struct IDirect3DDevice9; namespace image {