summaryrefslogtreecommitdiff
path: root/mysys/my_mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_mmap.c')
-rw-r--r--mysys/my_mmap.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysys/my_mmap.c b/mysys/my_mmap.c
index 0225e7fac24..ed662a38712 100644
--- a/mysys/my_mmap.c
+++ b/mysys/my_mmap.c
@@ -84,6 +84,12 @@ int my_msync(int fd, void *addr, size_t len, int flags)
}
#endif
+
+#ifdef _WINDOWS
+#pragma message "no mmap!"
+#else
#warning "no mmap!"
#endif
+#endif
+