Re: [Bulk] Re: GNU make 4.0.90 prerelease available

2014-10-01 Thread Eli Zaretskii
> From: "Gisle Vanem" 
> Cc: 
> Date: Wed, 1 Oct 2014 19:01:35 +0200
> 
> "Eli Zaretskii"  wrote:
> 
> > Looks good on MS-Windows (I fixed a few minor issues, most of them
> > specific to the MS-Windows build).
> 
> I have only one issue with OpenWatcom. It builds fine except for
> a missing 'ftruncate()':

Thanks, pushed.

___
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make


Re: [Bulk] Re: GNU make 4.0.90 prerelease available

2014-10-01 Thread Gisle Vanem

"Eli Zaretskii"  wrote:


Looks good on MS-Windows (I fixed a few minor issues, most of them
specific to the MS-Windows build).


I have only one issue with OpenWatcom. It builds fine except for
a missing 'ftruncate()':

--- Git-Latest/makeint.h 2014-09-21 16:21:17 +
+++ makeint.h   2014-09-22 11:28:59 +
@@ -350,8 +350,8 @@
# include 
# define pipe(_p)_pipe((_p), 512, O_BINARY)
# define kill(_pid,_sig) w32_kill((_pid),(_sig))
-/* MSVC doesn't have ftruncate.  */
-# ifdef _MSC_VER
+/* MSVC/Watcom doesn't have ftruncate.  */
+# if defined(_MSC_VER) || defined(__WATCOMC__)
#  define ftruncate(_fd,_len) _chsize(_fd,_len)
# endif

--gv

___
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make