* mf-hooks1.c (__mf_0fn_mmap, mmap, __mf_0fn_munmap, munmap): Protect
with HAVE_MMAP ifdef.
From-SVN: r104810
+2005-09-29 James E. Wilson <wilson@specifix.com>
+
+ * mf-hooks1.c (__mf_0fn_mmap, mmap, __mf_0fn_munmap, munmap): Protect
+ with HAVE_MMAP ifdef.
+
2005-09-23 Frank Ch. Eigler <fche@elastic.org>
PR 23084.
}
+/* We can only wrap mmap if the target supports it. Likewise for munmap.
+ We assume we have both if we have mmap. */
+#ifdef HAVE_MMAP
+
#if PIC
/* A special bootstrap variant. */
void *
}
return result;
}
+#endif /* HAVE_MMAP */
/* This wrapper is a little different, as it's called indirectly from