diff options
author | unknown <reggie@mdk10.(none)> | 2005-03-01 05:54:48 -0600 |
---|---|---|
committer | unknown <reggie@mdk10.(none)> | 2005-03-01 05:54:48 -0600 |
commit | 6b5ad3c14320ba71293929df4a11b508c79536d5 (patch) | |
tree | e993bd769a7d4c21d137e6b45b1f72c3c9352369 /mysys/my_mmap.c | |
parent | 679088a2ae1353f14a970182fa64f58170e81b72 (diff) | |
download | mariadb-git-6b5ad3c14320ba71293929df4a11b508c79536d5.tar.gz |
my_mmap.c:
Changed #warning pragma at the bottom to only occur when being used on non-Windows OS
mysys/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.c | 4 |
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 |