Re: [libvirt PATCH v2 24/56] src: ensure O_CLOEXEC is defined on Windows

2020-01-28 Thread Pavel Hrdina
On Tue, Jan 28, 2020 at 01:11:05PM +, Daniel P. Berrangé wrote: > Windows uses _O_NOINHERIT as the name for its O_CLOEXEC > equivalent. Define O_CLOEXEC to match this to fix > portability when we remove GNULIB. > > Signed-off-by: Daniel P. Berrangé > --- > src/internal.h | 6 ++ > 1 file

[libvirt PATCH v2 24/56] src: ensure O_CLOEXEC is defined on Windows

2020-01-28 Thread Daniel P . Berrangé
Windows uses _O_NOINHERIT as the name for its O_CLOEXEC equivalent. Define O_CLOEXEC to match this to fix portability when we remove GNULIB. Signed-off-by: Daniel P. Berrangé --- src/internal.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/internal.h b/src/internal.h index 4a6398