summaryrefslogtreecommitdiff
path: root/mysys/my_mmap.c
diff options
context:
space:
mode:
authorreggie@mdk10.(none) <>2005-03-01 05:54:48 -0600
committerreggie@mdk10.(none) <>2005-03-01 05:54:48 -0600
commit1c45844a225884b412597a6d9e243b56cdd6296c (patch)
treee993bd769a7d4c21d137e6b45b1f72c3c9352369 /mysys/my_mmap.c
parent71c69f42cd57c6e614f6b5ed142241f2bbd81ac6 (diff)
downloadmariadb-git-1c45844a225884b412597a6d9e243b56cdd6296c.tar.gz
my_mmap.c:
Changed #warning pragma at the bottom to only occur when being used on non-Windows OS
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