oleview: U(x) must be defined after winnt.h has had a chance to define NONAMELESSUNION. Fixes the compilation with gcc 2.95.

This commit is contained in:
Francois Gouget 2006-10-15 17:07:00 +02:00 committed by Alexandre Julliard
parent 8e1e62616a
commit 70066c1640

View file

@ -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