[ros-diffs] [cfinck] 28395: Use typedefs64.h in wmc instead of defining the types in the Makefile. The definition of wchar_t can also be removed as this type is defined in windef.h if it was not defined before.

cfinck at svn.reactos.org cfinck at svn.reactos.org
Sat Aug 18 15:21:31 CEST 2007


Author: cfinck
Date: Sat Aug 18 17:21:31 2007
New Revision: 28395

URL: http://svn.reactos.org/svn/reactos?rev=28395&view=rev
Log:
Use typedefs64.h in wmc instead of defining the types in the Makefile.
The definition of wchar_t can also be removed as this type is defined in windef.h if it was not defined before.

Modified:
    trunk/reactos/tools/wmc/wmc.mak
    trunk/reactos/tools/wmc/wmctypes.h

Modified: trunk/reactos/tools/wmc/wmc.mak
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wmc/wmc.mak?rev=28395&r1=28394&r2=28395&view=diff
==============================================================================
--- trunk/reactos/tools/wmc/wmc.mak (original)
+++ trunk/reactos/tools/wmc/wmc.mak Sat Aug 18 17:21:31 2007
@@ -32,10 +32,6 @@
 
 WMC_HOST_CFLAGS = -I$(WMC_BASE) $(TOOLS_CFLAGS) \
                   -D__USE_W32API -DWINE_UNICODE_API= -I$(UNICODE_BASE) \
-                  -DDWORD="unsigned int" -DDWORD_DEFINED \
-                  -DLONG="int" -DULONG="unsigned int" \
-                  -DPULONG="unsigned int *" -DLONG_DEFINED \
-                  -Dwchar_t="unsigned short" -D_WCHAR_T_DEFINED \
                   -Iinclude/reactos/wine -Iinclude/reactos -Iinclude -Iinclude/psdk
 
 WMC_HOST_LFLAGS = $(TOOLS_LFLAGS)

Modified: trunk/reactos/tools/wmc/wmctypes.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wmc/wmctypes.h?rev=28395&r1=28394&r2=28395&view=diff
==============================================================================
--- trunk/reactos/tools/wmc/wmctypes.h (original)
+++ trunk/reactos/tools/wmc/wmctypes.h Sat Aug 18 17:21:31 2007
@@ -22,6 +22,7 @@
 #define __WMC_WMCTYPES_H
 
 #include <stdarg.h>
+#include <typedefs64.h>
 #include "windef.h"
 #include "winbase.h"
 




More information about the Ros-diffs mailing list