projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* ResXResourceReader.cs (load_data): Make exception more informative.
[mono.git]
/
support
/
sys-mman.c
diff --git
a/support/sys-mman.c
b/support/sys-mman.c
index a91f4f841e60f37712fb2d8982c1301768b16164..57b4e08c73554b669967452c5128b6982c3e8c1c 100644
(file)
--- a/
support/sys-mman.c
+++ b/
support/sys-mman.c
@@
-18,6
+18,7
@@
G_BEGIN_DECLS
+#ifdef HAVE_POSIX_MADVISE
gint32
Mono_Posix_Syscall_posix_madvise (void *addr, mph_size_t len, gint32 advice)
{
@@
-28,6
+29,7
@@
Mono_Posix_Syscall_posix_madvise (void *addr, mph_size_t len, gint32 advice)
return posix_madvise (addr, (size_t) len, advice);
}
+#endif /* def HAVE_POSIX_MADVISE */
G_END_DECLS