Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ccfabcf authored by Dan Albert's avatar Dan Albert Committed by Gerrit Code Review
Browse files

Merge "O_CLOEXEC is O_NOINHERIT on Windows."

parents 87378814 c6b30f37
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset)
#endif /* __APPLE__ */

#if defined(_WIN32)
#define O_CLOEXEC 0
#define O_CLOEXEC O_NOINHERIT
#define O_NOFOLLOW 0
#define DEFFILEMODE 0666
#endif /* _WIN32 */