diff options
Diffstat (limited to 'libtest/mmap.c')
| -rw-r--r-- | libtest/mmap.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libtest/mmap.c b/libtest/mmap.c index c12594f..d8a2a60 100644 --- a/libtest/mmap.c +++ b/libtest/mmap.c @@ -5,6 +5,11 @@ #include <sys/syscall.h> +#if !defined(__linux__) +# errno "Don't know how to implement mmap(3), mumap(3), and mremap(3)" +#endif + + void * libtest_real_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t off) { |
