From 2cfb32bf4cbb726b83db82e414acced03781f99d Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 17 Aug 2017 17:43:19 +0300 Subject: Fix the MS-Windows build * nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_open): Omit Gnulib module 'open'. * lib-src/etags.c (O_CLOEXEC) [WINDOWSNT]: Restore definition. --- lib-src/etags.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib-src') diff --git a/lib-src/etags.c b/lib-src/etags.c index bec61a8a230..5e05c19c624 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -111,6 +111,8 @@ char pot_etags_version[] = "@(#) pot revision number is 17.38.1.4"; # undef HAVE_NTGUI # undef DOS_NT # define DOS_NT +/* The WINDOWSNT build doesn't use Gnulib's fcntl.h. */ +# define O_CLOEXEC O_NOINHERIT #endif /* WINDOWSNT */ #include -- cgit v1.2.1