msxml3: Fix compilation on systems that don't support nameless unions.

Francois Gouget fgouget at free.fr
Mon Jul 14 02:51:38 CDT 2008


---
 dlls/msxml3/domdoc.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c
index a2d7243..7de985e 100644
--- a/dlls/msxml3/domdoc.c
+++ b/dlls/msxml3/domdoc.c
@@ -19,6 +19,7 @@
  */
 
 #define COBJMACROS
+#define NONAMELESSUNION
 
 #include "config.h"
 
@@ -264,7 +265,7 @@ static HRESULT WINAPI bsc_OnDataAvailable(
 
     do
     {
-        hr = IStream_Read(pstgmed->pstm, buf, sizeof(buf), &read);
+        hr = IStream_Read(pstgmed->u.pstm, buf, sizeof(buf), &read);
         if(FAILED(hr))
             break;
 
-- 
1.5.6



More information about the wine-patches mailing list