PATCH - wcmd building with Mingw

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux