X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=ikvm-native%2Fos.c;h=9f2115f712ba6c2726969e963ebe4aa246048529;hb=0e5dd1f51a0dc59f1ada718ccba4622666beb434;hp=65d49e2a2aeea33e77a21dc118c4b8359cec3c45;hpb=da4f9e9b2afb23791029d0bb09d78b868aabd870;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