regedit: MSVC portability fixes

Martin Fuchs martin-fuchs at gmx.net
Tue Nov 1 10:52:28 CST 2005


Changelog:
include config.h and port.h for MSVC port


Index: edit.c
===================================================================
RCS file: /home/wine/wine/programs/regedit/edit.c,v
retrieving revision 1.20
diff -u -p -d -r1.20 edit.c
--- edit.c	26 Oct 2005 12:07:55 -0000	1.20
+++ edit.c	1 Nov 2005 16:50:32 -0000
@@ -34,6 +34,9 @@
 #include "regproc.h"
 #include "resource.h"
 
+#include "config.h"
+#include "wine/port.h"	/* _vsntprintf */
+
 static const TCHAR* editValueName;
 static TCHAR* stringValueData;
 static BOOL isDecimal;
Index: treeview.c
===================================================================
RCS file: /home/wine/wine/programs/regedit/treeview.c,v
retrieving revision 1.17
diff -u -p -d -r1.17 treeview.c
--- treeview.c	26 Oct 2005 12:07:55 -0000	1.17
+++ treeview.c	1 Nov 2005 16:30:19 -0000
@@ -33,6 +33,9 @@
 #include "main.h"
 #include "regproc.h"
 
+#include "config.h"
+#include "wine/port.h"	/* _tcsicmp() / strcasecmp() */
+
 WINE_DEFAULT_DEBUG_CHANNEL(regedit);
 
 /* Global variables and constants  */




More information about the wine-patches mailing list