diff options
author | KISHIMOTO, Makoto <ksmakoto@dd.iij4u.or.jp> | 2012-06-16 06:04:33 +0400 |
---|---|---|
committer | KISHIMOTO, Makoto <ksmakoto@dd.iij4u.or.jp> | 2012-06-16 06:04:33 +0400 |
commit | 9e9e2c86c85b725bc497bb79d16d5e3100ee053f (patch) | |
tree | 89e4872896601b91baf5050e6307ea236dc1ba0e /support | |
parent | f9d3dedcf2c0e9363399ade2349d6415fdd9d82b (diff) |
any BSD's sendfile has 6 arguments
Diffstat (limited to 'support')
-rw-r--r-- | support/sys-sendfile.c | 2 |
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 |