5 #if defined(HAVE_SYS_MMAN_H)
7 #else /* HAVE_SYS_MMAN_H */
13 # define mmap(a, b, c, d, e, f) (-1)
14 # define munmap(a, b) (-1)
16 #endif /* HAVE_SYS_MMAN_H */
18 /* NetBSD 1.3.x needs it; also make it available if mmap() is not present */
19 #if !defined(MAP_FAILED)
20 # define MAP_FAILED ((char*)-1)