Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ikvm-native')
-rw-r--r--ikvm-native/os.c5
1 files changed, 5 insertions, 0 deletions
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