Defined NONAMELESSUNION/STRUCT directly in the files that need it

instead of globally in the makefile.
This commit is contained in:
Alexandre Julliard 2003-01-07 23:11:12 +00:00
parent eb585a9685
commit ae4311c71c
6 changed files with 12 additions and 2 deletions

View File

@ -9,7 +9,7 @@
# plus all variables required by the global Make.rules.in # plus all variables required by the global Make.rules.in
# #
DEFS = @DLLFLAGS@ -DNONAMELESSUNION -DNONAMELESSSTRUCT $(EXTRADEFS) DEFS = @DLLFLAGS@ $(EXTRADEFS)
LDDLLFLAGS = @LDDLLFLAGS@ LDDLLFLAGS = @LDDLLFLAGS@
ALL_OBJS = $(OBJS) $(MODULE).dbg.o ALL_OBJS = $(OBJS) $(MODULE).dbg.o
ALL_LIBS = $(LIBWINE) $(EXTRALIBS) $(LIBS) ALL_LIBS = $(LIBWINE) $(EXTRALIBS) $(LIBS)

View File

@ -1,4 +1,4 @@
DEFS = @DLLFLAGS@ -DNONAMELESSUNION -DNONAMELESSSTRUCT $(EXTRADEFS) DEFS = @DLLFLAGS@ $(EXTRADEFS)
LDDLLFLAGS = @LDDLLFLAGS@ LDDLLFLAGS = @LDDLLFLAGS@
TOPSRCDIR = @top_srcdir@ TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../.. TOPOBJDIR = ../..

View File

@ -35,6 +35,9 @@
#include <time.h> #include <time.h>
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "windows.h" #include "windows.h"
#include "wingdi.h" #include "wingdi.h"
#include "mmsystem.h" #include "mmsystem.h"

View File

@ -58,6 +58,8 @@
#include <limits.h> #include <limits.h>
#include <assert.h> #include <assert.h>
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "rpcss.h" #include "rpcss.h"
#include "winnt.h" #include "winnt.h"

View File

@ -25,6 +25,8 @@
* environment-variable and batch parameter substitution already done. * environment-variable and batch parameter substitution already done.
*/ */
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "wcmd.h" #include "wcmd.h"
int WCMD_dir_sort (const void *a, const void *b); int WCMD_dir_sort (const void *a, const void *b);

View File

@ -19,6 +19,9 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "commctrl.h" #include "commctrl.h"
#include "prsht.h" #include "prsht.h"
#include "winecon_user.h" #include "winecon_user.h"