ole32/tests: Don't use the NONAMELESS* macros in the tests.

Francois Gouget fgouget at free.fr
Sun Nov 12 12:42:39 CST 2006


---
 dlls/ole32/tests/clipboard.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/ole32/tests/clipboard.c b/dlls/ole32/tests/clipboard.c
index ad15b5e..f2a71e4 100644
--- a/dlls/ole32/tests/clipboard.c
+++ b/dlls/ole32/tests/clipboard.c
@@ -19,8 +19,6 @@
  */
 
 #define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
 
 #include <stdarg.h>
 
@@ -201,7 +199,7 @@ static HRESULT WINAPI DataObjectImpl_Get
         return DV_E_TYMED;
 
     if(This->text && pformatetc->cfFormat == CF_TEXT)
-        pmedium->u.hGlobal = This->text;
+        U(*pmedium).hGlobal = This->text;
     else
         return DV_E_FORMATETC;
 
-- 
1.4.1.1




More information about the wine-patches mailing list