portability fixes

mysql-test/r/mysqlbinlog.result:
  result fixed
This commit is contained in:
unknown 2005-02-20 20:08:33 +01:00
commit a0a20345b9
6 changed files with 22 additions and 17 deletions

View file

@ -16,7 +16,7 @@
#include "mysys_priv.h"
#ifdef HAVE_MMAP
#ifdef HAVE_SYS_MMAN_H
/*
system msync() only syncs mmap'ed area to fs cache.
@ -84,6 +84,6 @@ int my_msync(int fd, void *addr, size_t len, int flags)
}
#endif
#error "no mmap!"
#warning "no mmap!"
#endif