Patch from Filip Navara updating comctl32
authorVizzini <vizzini@plasmic.com>
Mon, 15 Sep 2003 02:48:15 +0000 (02:48 +0000)
committerVizzini <vizzini@plasmic.com>
Mon, 15 Sep 2003 02:48:15 +0000 (02:48 +0000)
svn path=/trunk/; revision=6084

reactos/dk/w32/Makefile
reactos/include/wine/debugtools.h
reactos/include/wine/port.h
reactos/lib/user32/user32.def
reactos/lib/winedbgc/porting.h
reactos/lib/winedbgc/trace.h

index 94a4d3c..6c4a6d6 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.5 2003/01/07 18:20:34 robd Exp $
+# $Id: Makefile,v 1.6 2003/09/15 02:48:15 vizzini Exp $
 #
 # PROJECT    : ReactOS Operating System
 # FILE       : reactos/dk/w32/Makefile
@@ -54,7 +54,8 @@ MODULES_CRT=\
        $(TARGET_FOLDER_LIB)/msvcrt.a
 
 MODULES_MISC=\
-       $(TARGET_FOLDER_LIB)/version.a
+       $(TARGET_FOLDER_LIB)/version.a\
+       $(TARGET_FOLDER_LIB)/winmm.a
 
 MODULES_WINE=\
        $(TARGET_FOLDER_LIB)/libwine.a\
@@ -129,11 +130,11 @@ $(TARGET_FOLDER_LIB)/shell32.a: $(PATH_TO_TOP)/lib/shell32/shell32.def
                -D shell32.dll\
                -d $(PATH_TO_TOP)/lib/shell32/shell32.def
 
-$(TARGET_FOLDER_LIB)/comctl32.a: $(PATH_TO_TOP)/../wine/dlls/comctl32/comctl32.def
+$(TARGET_FOLDER_LIB)/comctl32.a: $(PATH_TO_TOP)/lib/comctl32/comctl32.def
        $(DLLTOOL) \
                $(DTFLAGS)\
                -D comctl32.dll\
-               -d $(PATH_TO_TOP)/../wine/dlls/comctl32/comctl32.def
+               -d $(PATH_TO_TOP)/lib/comctl32/comctl32.def
 
 
 $(TARGET_FOLDER_LIB)/$(SHELL32_ALIAS).a: $(PATH_TO_TOP)/lib/shell32/shell32.def
@@ -231,6 +232,12 @@ $(TARGET_FOLDER_LIB)/version.a: $(PATH_TO_TOP)/lib/version/version.def
                -D version.dll\
                -d $(PATH_TO_TOP)/lib/version/version.def
 
+$(TARGET_FOLDER_LIB)/winmm.a: $(PATH_TO_TOP)/lib/winmm/winmm.def
+       $(DLLTOOL) \
+               $(DTFLAGS)\
+               -D winmm.dll\
+               -d $(PATH_TO_TOP)/lib/winmm/winmm.def
+
 # --- WINE ---
 
 $(TARGET_FOLDER_LIB)/ole32.a: $(PATH_TO_TOP)/../wine/dlls/ole32/ole32.def
index 242df8d..87e71b1 100644 (file)
@@ -1,17 +1,8 @@
 #ifndef __WINE_DEBUGTOOLS_H
 #define __WINE_DEBUGTOOLS_H
 
-#ifndef __NTDLL__
-
 #include <stdarg.h>
-#include "config.h"
-#include "windef.h"
-
-#else
-
-#include <windows.h>
-
-#endif /* __NTDLL__ */
+#include <wchar.h>
 
 struct _GUID;
 
@@ -110,10 +101,6 @@ inline static const char *debugres_w( const WCHAR *s ) { return wine_dbgstr_wn(
 
 #define WINE_DEFAULT_DEBUG_CHANNEL(ch) DEFAULT_DEBUG_CHANNEL(ch)
 
-#define WINE_DEFAULT_DEBUG_CHANNEL(ch) DEFAULT_DEBUG_CHANNEL(ch)
-
-#define WINE_DEFAULT_DEBUG_CHANNEL(ch) DEFAULT_DEBUG_CHANNEL(ch)
-
 #define DPRINTF wine_dbg_printf
 #define MESSAGE wine_dbg_printf
 
index 2a76857..d3d1bde 100644 (file)
@@ -13,7 +13,4 @@ typedef short     INT16;
 #define snprintf _snprintf
 #define strcasecmp _stricmp
 
-/* Wine debugging porting */
-#include "debugtools.h"
-
 #endif /* _ROS_WINE_PORT */
index 99f38d9..c5a4dda 100644 (file)
@@ -183,7 +183,7 @@ DrawCaptionTempW@28
 DrawEdge@16
 DrawFocusRect@8
 DrawFrame@16
-DrawFrameControl
+DrawFrameControl@16
 DrawIcon@16
 DrawIconEx@36
 DrawMenuBar@4
index 45a8539..675d79b 100644 (file)
@@ -42,7 +42,9 @@ long interlocked_xchg_add(long *dest, long incr);
 #define snprintf _snprintf
 #define strcasecmp _stricmp
 
+#ifdef __USE_W32API
 #define SLOWORD(l) ((SHORT)(LONG)(l))
 #define SHIWORD(l) ((SHORT)((LONG)(l) >> 16))
+#endif
 
 #endif  /* __PORTING_WINE2ROS_H */
index bbd863a..2f1defe 100644 (file)
@@ -47,9 +47,6 @@ void Assert(void* assert, TCHAR* file, int line, void* msg);
 void Trace(TCHAR* lpszFormat, ...);
 void Trace1(int code, TCHAR* lpszFormat, ...);
 
-#define TRACE  Trace
-#define TRACE0 Trace
-
 #else   // _DEBUG
 
 #ifndef ASSERT
@@ -57,15 +54,9 @@ void Trace1(int code, TCHAR* lpszFormat, ...);
 #define ASSERTMSG(exp, msg)
 #endif
 
-//#define TRACE0 TRACE
-//#define TRACE1 TRACE
-
 void Assert(void* assert, TCHAR* file, int line, void* msg);
 void Trace(TCHAR* lpszFormat, ...);
 
-#define TRACE 0 ? (void)0 : Trace
-
-
 #endif // !_DEBUG
 
 #endif // __TRACE_H__