Another Minor Mingw32 Patch

Steven Edwards Steven_Ed4153 at yahoo.com
Wed Apr 24 20:50:40 CDT 2002


This one could have a configure check but I havent had the time to learn
How to properly write one and mingw is the only platform I know of that
doesn't
have ftruncate support. If anyone has the time and wants to help I have
about
4 or 5 things I need ./conf checks written for. 
	
Changlog: Added ftruncate support for makedep on MingW32

cvs diff -u makedep.c 
Index: makedep.c
===================================================================
RCS file: /home/wine/wine/tools/makedep.c,v
retrieving revision 1.10
diff -u -r1.10 makedep.c
--- makedep.c	10 Mar 2002 00:24:22 -0000	1.10
+++ makedep.c	25 Apr 2002 01:42:50 -0000
@@ -24,6 +24,10 @@
 #include <string.h>
 #include <unistd.h>
 
+#ifdef _MINGW_      /* Taken from GLib */
+#define ftruncate(fd, size)
+#endif
+
 /* Max first-level includes per file */
 #define MAX_INCLUDES 200 




More information about the wine-patches mailing list