check for munmap as well as mmap. NextStep only has mmap in standard
[rsync/rsync.git] / syscall.c
index a8470e1..16d0a96 100644 (file)
--- a/syscall.c
+++ b/syscall.c
@@ -149,7 +149,7 @@ OFF_T do_lseek(int fd, OFF_T offset, int whence)
 #endif
 }
 
-#if HAVE_MMAP
+#ifdef USE_MMAP
 void *do_mmap(void *start, int len, int prot, int flags, int fd, OFF_T offset)
 {
 #if HAVE_OFF64_T