projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Flush
[mono.git]
/
support
/
map.c
diff --git
a/support/map.c
b/support/map.c
index 7016ea3509a350a1c2fbf957dd833ba602230f26..6438bc8c87e9dde104841014469a3a177538f0d8 100644
(file)
--- a/
support/map.c
+++ b/
support/map.c
@@
-29,8
+29,10
@@
int map_Mono_Posix_OpenFlags (int x)
r |= O_APPEND;
if ((x & Mono_Posix_OpenFlags_O_NONBLOCK) != 0)
r |= O_NONBLOCK;
+#ifdef O_SYNC
if ((x & Mono_Posix_OpenFlags_O_SYNC) != 0)
r |= O_SYNC;
+#endif
return r;
}