From 016ca978455df7257a92236bbfb0c67de4a4bcd8 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Tue, 3 Apr 2018 20:05:33 +0100 Subject: fsync: avoid a gratuitous difference from upstream Move the definition of O_NOCTTY to mingw.h so that fsync.c is the same as upstream. --- include/mingw.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/mingw.h b/include/mingw.h index 652652c3d..7ee9c15cc 100644 --- a/include/mingw.h +++ b/include/mingw.h @@ -30,6 +30,7 @@ int inet_pton(int af, const char *src, void *dst); #define FD_CLOEXEC 0x1 #define O_NONBLOCK 0 #define O_NOFOLLOW 0 +#define O_NOCTTY 0 #define O_SPECIAL 0x800000 /* -- cgit v1.2.3-55-g6feb