projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prepare Mono for Android NDK with unified headers (#5680)
[mono.git]
/
support
/
sys-sendfile.c
diff --git
a/support/sys-sendfile.c
b/support/sys-sendfile.c
index 3edf7be4163bac5febd12a6987d64dfbaa5d2b86..794341b58999b7bb363e97daa99633d53675b661 100644
(file)
--- a/
support/sys-sendfile.c
+++ b/
support/sys-sendfile.c
@@
-12,6
+12,7
@@
#include <sys/types.h>
#include <errno.h>
#include <sys/types.h>
#include <errno.h>
+#include "mono/utils/mono-compiler.h"
#include "map.h"
#include "mph.h"
#include "map.h"
#include "mph.h"
@@
-31,7
+32,7
@@
Mono_Posix_Syscall_sendfile (int out_fd, int in_fd, mph_off_t *offset, mph_size_
_offset = *offset;
_offset = *offset;
-#if defined(
PLATFORM_MACOSX) || defined(PLATFORM
_BSD)
+#if defined(
HOST_DARWIN) || defined(HOST
_BSD)
/* The BSD version has 6 arguments */
g_assert_not_reached ();
#else
/* The BSD version has 6 arguments */
g_assert_not_reached ();
#else