Commit 70066c16 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

oleview: U(x) must be defined after winnt.h has had a chance to define…

oleview: U(x) must be defined after winnt.h has had a chance to define NONAMELESSUNION. Fixes the compilation with gcc 2.95.
parent 8e1e6261
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment