From 5064f263546c5928b142e3f36c6b24f63c0f4da2 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 23 Feb 2005 22:55:46 -0600 Subject: More changes to make 5.0.3 compile on Windows sql_map.cc: moved include of sys/stat outside of HAVE_SYS_MMAN_H define my_decimal.h: Added define for EMBEDDED_SERVER for call to string2my_decimal mi_packrec.c: removed cast to caddr_t myisam/mi_packrec.c: removed cast to caddr_t sql/my_decimal.h: Added define for EMBEDDED_SERVER for call to string2my_decimal sql/sql_map.cc: moved include of sys/stat outside of HAVE_SYS_MMAN_H define --- myisam/mi_packrec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'myisam') diff --git a/myisam/mi_packrec.c b/myisam/mi_packrec.c index f3e942943aa..cc62614cb07 100644 --- a/myisam/mi_packrec.c +++ b/myisam/mi_packrec.c @@ -1231,7 +1231,7 @@ my_bool _mi_memmap_file(MI_INFO *info) void _mi_unmap_file(MI_INFO *info) { - VOID(my_munmap((caddr_t) info->s->file_map, + VOID(my_munmap(info->s->file_map, (size_t) info->s->state.state.data_file_length+ MEMMAP_EXTRA_MARGIN)); } -- cgit v1.2.1