projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #1057 from lextm/master
[mono.git]
/
ikvm-native
/
os.c
diff --git
a/ikvm-native/os.c
b/ikvm-native/os.c
index 65d49e2a2aeea33e77a21dc118c4b8359cec3c45..9f2115f712ba6c2726969e963ebe4aa246048529 100644
(file)
--- 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