Francois Gouget : ole32/tests: Don'
t use the NONAMELESS* macros in the tests.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Nov 13 06:32:55 CST 2006
Module: wine
Branch: master
Commit: 49ad2b10c1e106fe2b05bd10f3bf7f4d0acbfedf
URL: http://source.winehq.org/git/wine.git/?a=commit;h=49ad2b10c1e106fe2b05bd10f3bf7f4d0acbfedf
Author: Francois Gouget <fgouget at free.fr>
Date: Sun Nov 12 19:42:39 2006 +0100
ole32/tests: Don't use the NONAMELESS* macros in the tests.
---
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;
More information about the wine-cvs
mailing list