[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bulk] Re: GNU make 4.0.90 prerelease available
From: |
Gisle Vanem |
Subject: |
Re: [Bulk] Re: GNU make 4.0.90 prerelease available |
Date: |
Wed, 1 Oct 2014 19:01:35 +0200 |
"Eli Zaretskii" <address@hidden> 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 +0000
+++ makeint.h 2014-09-22 11:28:59 +0000
@@ -350,8 +350,8 @@
# include <malloc.h>
# 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