X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=support%2Funistd.c;h=145de5192eb07e34b7893c457b926ee8508b1383;hb=f86145e5589879e84a0982598d37ad0b8d6953ee;hp=1123f2bc0fac9112b60e8f398e11b685eb59783c;hpb=6352c16dd5306ccb8bedc742bf99505688695dc6;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) {