Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
msvc: define O_ACCMODE
[gitweb.git]
/
compat
/
msvc.h
diff --git
a/compat/msvc.h
b/compat/msvc.h
index 04b4750b87bdbe63a4a00781f45a2806a37c4a49..d336d806704d3902c2b631053574626abab3adc1 100644
(file)
--- a/
compat/msvc.h
+++ b/
compat/msvc.h
@@
-19,6
+19,8
@@
#undef ERROR
typedef int sigset_t;
+/* open for reading, writing, or both (not in fcntl.h) */
+#define O_ACCMODE (_O_RDONLY | _O_WRONLY | _O_RDWR)
#include "compat/mingw.h"