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

Alexandre Julliard julliard at winehq.org
Mon Jul 14 05:57:13 CDT 2008


Module: wine
Branch: master
Commit: 6dd7f060a2964801fa8cf33d2d97c081bb71a9ee
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6dd7f060a2964801fa8cf33d2d97c081bb71a9ee

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Jul 14 09:51:38 2008 +0200

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

---

 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 588a2ab..59ea8c5 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;
 




More information about the wine-cvs mailing list