diff options
Diffstat (limited to 'include/utils/Compat.h')
-rw-r--r-- | include/utils/Compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/utils/Compat.h b/include/utils/Compat.h index a238afe74..ca4a8e0d8 100644 --- a/include/utils/Compat.h +++ b/include/utils/Compat.h | |||
@@ -36,7 +36,7 @@ static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) | |||
36 | #endif /* __APPLE__ */ | 36 | #endif /* __APPLE__ */ |
37 | 37 | ||
38 | #if defined(_WIN32) | 38 | #if defined(_WIN32) |
39 | #define O_CLOEXEC 0 | 39 | #define O_CLOEXEC O_NOINHERIT |
40 | #define O_NOFOLLOW 0 | 40 | #define O_NOFOLLOW 0 |
41 | #define DEFFILEMODE 0666 | 41 | #define DEFFILEMODE 0666 |
42 | #endif /* _WIN32 */ | 42 | #endif /* _WIN32 */ |