diff options
author | Calvin <calvin@openmailbox.org> | 2017-02-15 02:05:31 +0300 |
---|---|---|
committer | Calvin <calvin@openmailbox.org> | 2017-02-27 18:27:51 +0300 |
commit | 52d4b9dcb79e9d5b0c86e6d9ff297e563d80bdee (patch) | |
tree | 7c768b48a181accea2846f1e25c1cf0017a8e055 /support | |
parent | 3e2a367d9154f01d3b4fc1dffc0c694415539cd1 (diff) |
Improve build and configure
* detect sys/errno.h
* Fix errenous LIBS in haiku
* use HAVE_MINCORE
Diffstat (limited to 'support')
-rw-r--r-- | support/sys-mman.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/support/sys-mman.c b/support/sys-mman.c index 08c1fea9fd3..afbe4662444 100644 --- a/support/sys-mman.c +++ b/support/sys-mman.c @@ -88,8 +88,7 @@ Mono_Posix_Syscall_msync (void *start, mph_size_t len, int flags) int Mono_Posix_Syscall_mlock (void *start, mph_size_t len) { -/* FIXME: Haiku lacks support for m(un)lock and mincore */ -#if defined(__HAIKU__) +#if !defined(HAVE_MINCORE) return ENOSYS; #else mph_return_if_size_t_overflow (len); |