From 1e726ce7a38a92860acab28f4427813d2ba14c13 Mon Sep 17 00:00:00 2001 From: Elijah Taylor Date: Thu, 31 Jan 2013 12:04:20 -0800 Subject: 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' --- ikvm-native/os.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ikvm-native') 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 -- cgit v1.2.3