am a596623f: am 6ccfabcf: Merge "O_CLOEXEC is O_NOINHERIT on Windows."

* commit 'a596623fbf3c38e08ee5b3d2663f96258492e452':
  O_CLOEXEC is O_NOINHERIT on Windows.
This commit is contained in:
Dan Albert 2015-03-27 06:41:07 +00:00 committed by Android Git Automerger
commit 1188a4d856

View file

@ -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 */