* mf-hooks1.c (__mf_0fn_mmap, mmap, __mf_0fn_munmap, munmap): Protect
with HAVE_MMAP ifdef.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104810
138bc75d-0d04-0410-961f-
82ee72b054a4
+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