"Eli Zaretskii" <e...@gnu.org> 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

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

Reply via email to