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:
authorKISHIMOTO, Makoto <ksmakoto@dd.iij4u.or.jp>2012-06-16 06:04:33 +0400
committerKISHIMOTO, Makoto <ksmakoto@dd.iij4u.or.jp>2012-06-16 06:04:33 +0400
commit9e9e2c86c85b725bc497bb79d16d5e3100ee053f (patch)
tree89e4872896601b91baf5050e6307ea236dc1ba0e /support
parentf9d3dedcf2c0e9363399ade2349d6415fdd9d82b (diff)
any BSD's sendfile has 6 arguments
Diffstat (limited to 'support')
-rw-r--r--support/sys-sendfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/sys-sendfile.c b/support/sys-sendfile.c
index 07607b31f02..3edf7be4163 100644
--- a/support/sys-sendfile.c
+++ b/support/sys-sendfile.c
@@ -31,7 +31,7 @@ Mono_Posix_Syscall_sendfile (int out_fd, int in_fd, mph_off_t *offset, mph_size_
_offset = *offset;
-#ifdef PLATFORM_MACOSX
+#if defined(PLATFORM_MACOSX) || defined(PLATFORM_BSD)
/* The BSD version has 6 arguments */
g_assert_not_reached ();
#else