summaryrefslogtreecommitdiff
path: root/mysys/my_mmap.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-02-20 20:08:33 +0100
committerunknown <serg@serg.mylan>2005-02-20 20:08:33 +0100
commit4ecb4b42f46a731fd02c022e67683bff1a9f111d (patch)
tree350d45d1c0dbdf570edc1a23e51a170a8404e777 /mysys/my_mmap.c
parentca97e9e77208d7cb881be099203ebb7783473e66 (diff)
downloadmariadb-git-4ecb4b42f46a731fd02c022e67683bff1a9f111d.tar.gz
portability fixes
mysql-test/r/mysqlbinlog.result: result fixed
Diffstat (limited to 'mysys/my_mmap.c')
-rw-r--r--mysys/my_mmap.c4
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