d3dxof/tests: Avoid preprocessor check to ensure it compiles
André Hentschel
nerv at dawncrow.de
Wed Jan 22 15:32:33 CST 2014
---
dlls/d3dxof/tests/d3dxof.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/d3dxof/tests/d3dxof.c b/dlls/d3dxof/tests/d3dxof.c
index f4ab68a..67baac0 100644
--- a/dlls/d3dxof/tests/d3dxof.c
+++ b/dlls/d3dxof/tests/d3dxof.c
@@ -1184,12 +1184,13 @@ static void process_data(LPDIRECTXFILEDATA lpDirectXFileData, int level)
for (i = 0; i < level; i++)
printf(" ");
printf("Found Data Reference (%d)\n", j);
-#if 0
+if (0)
+{
hr = IDirectXFileDataReference_GetId(lpDirectXFileData, &clsid);
ok(hr == DXFILE_OK, "IDirectXFileData_GetId: %x\n", hr);
hr = IDirectXFileDataReference_GetName(lpDirectXFileData, name, &len);
ok(hr == DXFILE_OK, "IDirectXFileData_GetName: %x\n", hr);
-#endif
+}
IDirectXFileDataReference_Resolve(p2, &pfdo);
process_data(pfdo, level);
IDirectXFileData_Release(pfdo);
--
1.8.1.2
More information about the wine-patches
mailing list