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:
authorElijah Taylor <elijahtaylor@google.com>2013-02-01 00:04:20 +0400
committerZoltan Varga <vargaz@gmail.com>2013-04-07 11:45:45 +0400
commit1e726ce7a38a92860acab28f4427813d2ba14c13 (patch)
treee832165ae65eab2a49361b4a50509e71214bb4b8 /ikvm-native
parent28c53a39a4630ecb719a94ee6dd6801633799a89 (diff)
NaCl runtime fixes
- fix compile/runtime issues caused by upstream changes - add NaCl glibc support - various changes to support running tests in NaCl glibc from 'make check'
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