Francois Gouget : oleview: U(x) must be defined after winnt.
h has had a chance to define NONAMELESSUNION.
Fixes the compilation with gcc 2.95.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Oct 16 05:28:49 CDT 2006
Module: wine
Branch: master
Commit: 70066c1640dabf2651ed48dc608e85f0a5c07fe6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=70066c1640dabf2651ed48dc608e85f0a5c07fe6
Author: Francois Gouget <fgouget at free.fr>
Date: Sun Oct 15 17:07:00 2006 +0200
oleview: U(x) must be defined after winnt.h has had a chance to define NONAMELESSUNION. Fixes the compilation with gcc 2.95.
---
programs/oleview/main.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/programs/oleview/main.h b/programs/oleview/main.h
index 3bac011..90f184d 100644
--- a/programs/oleview/main.h
+++ b/programs/oleview/main.h
@@ -20,17 +20,17 @@
#define COBJMACROS
+#include <windows.h>
+#include <winreg.h>
+#include <commctrl.h>
+#include <unknwn.h>
+
#ifdef NONAMELESSUNION
# define U(x) (x).u
#else
# define U(x) (x)
#endif
-#include <windows.h>
-#include <winreg.h>
-#include <commctrl.h>
-#include <unknwn.h>
-
#include "resource.h"
#define MAX_LOAD_STRING 256
More information about the wine-cvs
mailing list