PATCH - wcmd building with Mingw

Steven Edwards steven_ed4153 at yahoo.com
Sun Sep 8 23:51:10 CDT 2002


Dont know if this is right or not but it builds and works now.

Changelog:
Remove unused import
Fixed building on Windows

Index: Makefile.in
===================================================================
RCS file: /home/wine/wine/programs/wcmd/Makefile.in,v
retrieving revision 1.19
diff -u -r1.19 Makefile.in
--- Makefile.in	21 May 2002 19:42:30 -0000	1.19
+++ Makefile.in	9 Sep 2002 04:50:46 -0000
@@ -4,7 +4,7 @@
 VPATH     = @srcdir@
 MODULE    = wcmd.exe
 APPMODE   = cui
-IMPORTS   = shell32 user32 kernel32
+IMPORTS   = user32 kernel32
 
 C_SRCS = \
 	batch.c \


Index: directory.c
===================================================================
RCS file: /home/wine/wine/programs/wcmd/directory.c,v
retrieving revision 1.11
diff -u -r1.11 directory.c
--- directory.c	5 Jul 2002 22:47:56 -0000	1.11
+++ directory.c	9 Sep 2002 04:50:23 -0000
@@ -365,8 +365,13 @@
 
 char * WCMD_filesize64 (__uint64 n) {
 
+#ifdef _WINDOWS
+unsigned __int64 q;
+unsigned int r, i;
+#else
 __uint64 q;
 uint r, i;
+#endif
 char *p;
 static char buff[32];

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com



More information about the wine-patches mailing list