X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=ikvm-native%2Fos.c;h=9f2115f712ba6c2726969e963ebe4aa246048529;hb=4f021d81ca18b1aca6fd46165becb49bb9c63c25;hp=65d49e2a2aeea33e77a21dc118c4b8359cec3c45;hpb=c4a3b30460c7ea1a1fb3c97cfc8478555714af2f;p=mono.git diff --git a/ikvm-native/os.c b/ikvm-native/os.c index 65d49e2a2ae..9f2115f712b 100644 --- a/ikvm-native/os.c +++ b/ikvm-native/os.c @@ -95,6 +95,11 @@ JNIEXPORT int JNICALL ikvm_msync(void* address, jint size) { +#if defined(__native_client__) && defined(USE_NEWLIB) + g_assert_not_reached (); + return -1; +#else return msync(address, size, MS_SYNC); +#endif } #endif