X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=support%2Funistd.c;h=145de5192eb07e34b7893c457b926ee8508b1383;hb=ef7a4c06206976de7ef2e974267407347ddb75a4;hp=1123f2bc0fac9112b60e8f398e11b685eb59783c;hpb=cbbd71101794e66ab7477db65cfbd61d67e08305;p=mono.git diff --git a/support/unistd.c b/support/unistd.c index 1123f2bc0fa..145de5192eb 100644 --- a/support/unistd.c +++ b/support/unistd.c @@ -21,8 +21,8 @@ #include #include /* for swab(3) on Mac OS X */ +#include "mph.h" /* Don't remove or move after map.h! Works around issues with Android SDK unified headers */ #include "map.h" -#include "mph.h" G_BEGIN_DECLS @@ -230,7 +230,7 @@ Mono_Posix_Syscall_setdomainname (const char *name, mph_size_t len) /* Android implements truncate, but doesn't declare it. * Result is a warning during compilation, so skip it. */ -#ifndef PLATFORM_ANDROID +#ifndef HOST_ANDROID gint32 Mono_Posix_Syscall_truncate (const char *path, mph_off_t length) {