commit | 497e411ed8ad776dd8983e657d7c69268b410d4b | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Thu Mar 26 23:22:56 2015 -0700 |
committer | Dan Albert <danalbert@google.com> | Thu Mar 26 23:24:15 2015 -0700 |
tree | d0f34a7eb7a6e7b7a7defc445fac93b02daf34bf | |
parent | cc4c06fbb3ec53ad6fa0f8474d37decf31d097a0 [diff] |
O_CLOEXEC is O_NOINHERIT on Windows. Change-Id: I714aa08344fa10684c99651f953834086cc162c7
diff --git a/include/utils/Compat.h b/include/utils/Compat.h index a238afe..ca4a8e0 100644 --- a/include/utils/Compat.h +++ b/include/utils/Compat.h
@@ -36,7 +36,7 @@ #endif /* __APPLE__ */ #if defined(_WIN32) -#define O_CLOEXEC 0 +#define O_CLOEXEC O_NOINHERIT #define O_NOFOLLOW 0 #define DEFFILEMODE 0666 #endif /* _WIN32 */