diff options
Diffstat (limited to 'mysys/my_mmap.c')
-rw-r--r-- | mysys/my_mmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/my_mmap.c b/mysys/my_mmap.c index 883181edd6c..0225e7fac24 100644 --- a/mysys/my_mmap.c +++ b/mysys/my_mmap.c @@ -16,7 +16,7 @@ #include "mysys_priv.h" -#ifdef HAVE_MMAP +#ifdef HAVE_SYS_MMAN_H /* system msync() only syncs mmap'ed area to fs cache. @@ -84,6 +84,6 @@ int my_msync(int fd, void *addr, size_t len, int flags) } #endif -#error "no mmap!" +#warning "no mmap!" #endif |