Commit ae4311c7 authored by Alexandre Julliard's avatar Alexandre Julliard

Defined NONAMELESSUNION/STRUCT directly in the files that need it

instead of globally in the makefile.
parent eb585a96
......@@ -9,7 +9,7 @@
# plus all variables required by the global Make.rules.in
#
DEFS = @DLLFLAGS@ -DNONAMELESSUNION -DNONAMELESSSTRUCT $(EXTRADEFS)
DEFS = @DLLFLAGS@ $(EXTRADEFS)
LDDLLFLAGS = @LDDLLFLAGS@
ALL_OBJS = $(OBJS) $(MODULE).dbg.o
ALL_LIBS = $(LIBWINE) $(EXTRALIBS) $(LIBS)
......
DEFS = @DLLFLAGS@ -DNONAMELESSUNION -DNONAMELESSSTRUCT $(EXTRADEFS)
DEFS = @DLLFLAGS@ $(EXTRADEFS)
LDDLLFLAGS = @LDDLLFLAGS@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
......
......@@ -35,6 +35,9 @@
#include <time.h>
#include <assert.h>
#include <string.h>
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "windows.h"
#include "wingdi.h"
#include "mmsystem.h"
......
......@@ -58,6 +58,8 @@
#include <limits.h>
#include <assert.h>
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "rpcss.h"
#include "winnt.h"
......
......@@ -25,6 +25,8 @@
* environment-variable and batch parameter substitution already done.
*/
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "wcmd.h"
int WCMD_dir_sort (const void *a, const void *b);
......
......@@ -19,6 +19,9 @@
#include <stdio.h>
#include <stdlib.h>
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "commctrl.h"
#include "prsht.h"
#include "winecon_user.h"
......
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