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
commita0a20345b9869731cac43438ed5c23709aa6fc14 (patch)
tree350d45d1c0dbdf570edc1a23e51a170a8404e777 /mysys/my_mmap.c
parent10db96fe432886f15bc489b6f27540b6fa3463a7 (diff)
downloadmariadb-git-a0a20345b9869731cac43438ed5c23709aa6fc14.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