commit | 714196d05c5952eb09ca718955de6e4c2d4cfd92 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Feb 03 14:26:58 2015 -0800 |
committer | Elliott Hughes <enh@google.com> | Tue Feb 03 14:26:58 2015 -0800 |
tree | 223df417489a186d0fdfd3d706e331800a6c9149 | |
parent | 6c6f39678cf41a52826b4b4551f39d8256855f54 [diff] |
Extra Win32 compatibility. Change-Id: Ibc583aba580f4fc15c243f495ead44b2ce4c6e5e
diff --git a/include/utils/Compat.h b/include/utils/Compat.h index 0df40a1..a238afe 100644 --- a/include/utils/Compat.h +++ b/include/utils/Compat.h
@@ -35,6 +35,12 @@ #endif /* __APPLE__ */ +#if defined(_WIN32) +#define O_CLOEXEC 0 +#define O_NOFOLLOW 0 +#define DEFFILEMODE 0666 +#endif /* _WIN32 */ + #if HAVE_PRINTF_ZD # define ZD "%zd" # define ZD_TYPE ssize_t