Resent:[From Steven Edwards]PATCH: Fix build wcmd on windows

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

 




Appended patch allows to built wcmd with mingw. As windows executable,  we
can specify wcmd.exe as $COMSPEC and e.g. Xilinx Webpack may start it's
Chipview.bat.

------- start of forwarded message -------
...
From: Steven Edwards <steven_ed4153@yahoo.com>
Sender: wine-patches-admin@winehq.com
To: wine-patches@winehq.com
Subject: PATCH: Fix build wcmd on windows
Date: Fri, 19 Jul 2002 22:34:27 -0700 (PDT)

Changelog: Fix building on windows

cvs diff -u directory.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	20 Jul 2002 05:32:26 -0000
@@ -29,7 +29,7 @@
 
 int WCMD_dir_sort (const void *a, const void *b);
 void WCMD_list_directory (char *path, int level);
-char * WCMD_filesize64 (__uint64 free);
+char * WCMD_filesize64 (unsigned __int64 free);
 char * WCMD_strrev (char *buff);
 
 
@@ -43,7 +43,7 @@
 
 int file_total, dir_total, line_count, page_mode, recurse, wide, bare,
     max_width;
-__uint64 byte_total;
+unsigned __int64 byte_total;
 
 /*****************************************************************************
  * WCMD_directory
@@ -363,10 +363,10 @@
  * FIXME: There must be a better algorithm!
  */
 
-char * WCMD_filesize64 (__uint64 n) {
+char * WCMD_filesize64 (unsigned __int64 n) {
 
-__uint64 q;
-uint r, i;
+unsigned __int64 q;
+unsigned int r, i;
 char *p;
 static char buff[32];

__________________________________________________
...
------- end of forwarded message -------

-- 
Uwe Bonnes                bon@elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------


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

  Powered by Linux