diff options
author | unknown <reggie@mdk10.(none)> | 2005-02-23 16:29:03 -0600 |
---|---|---|
committer | unknown <reggie@mdk10.(none)> | 2005-02-23 16:29:03 -0600 |
commit | 52bba384fc034ccc68dbf717f6950049d61eb6bf (patch) | |
tree | ab1e727b792d995de827c133c1300251cd725c03 /mysys/my_mmap.c | |
parent | 47ed1db7465f611603f899773aad6a7d1cd1f925 (diff) | |
download | mariadb-git-52bba384fc034ccc68dbf717f6950049d61eb6bf.tar.gz |
Changes to allow 5.0.3 to compile on Windows after XA was pushed
logging_ok:
Logging to logging@openlogging.org accepted
mi_packrec.c:
Using HAVE_SYS_MMAN_H to protect include of sys/mman.h and replaced calls to mmap and munmap with my_mmap and my_munmap
mi_extra.c:
Now using HAVE_SYS_MMAN_H to protect include of sys/mman.h
my_mmap.c:
Changed how no mmap message is printed for Windows
sql_map.cc:
Changed HAVE_MMAP to HAVE_SYS_MMAN_H and replaced calls to mmap and munmap with my_mmap and my_munmap
sql/sql_map.cc:
Changed HAVE_MMAP to HAVE_SYS_MMAN_H and replaced calls to mmap and munmap with my_mmap and my_munmap
mysys/my_mmap.c:
Changed how no mmap message is printed for Windows
myisam/mi_extra.c:
Now using HAVE_SYS_MMAN_H to protect include of sys/mman.h
myisam/mi_packrec.c:
Using HAVE_SYS_MMAN_H to protect include of sys/mman.h and replaced calls to mmap and munmap with my_mmap and my_munmap
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'mysys/my_mmap.c')
-rw-r--r-- | mysys/my_mmap.c | 6 |
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 + |