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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mysys/my_mmap.c b/mysys/my_mmap.c
index ed662a38712..98243c9d5d8 100644
--- a/mysys/my_mmap.c
+++ b/mysys/my_mmap.c
@@ -85,9 +85,7 @@ int my_msync(int fd, void *addr, size_t len, int flags)
#endif
-#ifdef _WINDOWS
-#pragma message "no mmap!"
-#else
+#ifndef __WIN__
#warning "no mmap!"
#endif