Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Molaro <lupus@oddwiz.org>2004-03-18 23:38:55 +0300
committerPaolo Molaro <lupus@oddwiz.org>2004-03-18 23:38:55 +0300
commit0382d5f8df1e32db31d941d1fe256b8871c8e691 (patch)
tree1a6c8d852332047e932413ff3d10b15cf3ccc749 /support
parent84971b8ef8f8f3e31902a5e346f885d8c029c4bf (diff)
Quick fix fo macosx until this code is dumped.
svn path=/trunk/mono/; revision=24291
Diffstat (limited to 'support')
-rw-r--r--support/map.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/support/map.c b/support/map.c
index 7016ea3509a..6438bc8c87e 100644
--- 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;
}