summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <reggie@mdk10.(none)>2005-02-23 22:55:46 -0600
committerunknown <reggie@mdk10.(none)>2005-02-23 22:55:46 -0600
commit5064f263546c5928b142e3f36c6b24f63c0f4da2 (patch)
treecd1bfdbf7f227ea03ebe9dba639ccafb1edf86ef /myisam
parentfc79380e6953a86d88eeeb6ec2e05e133a7f1be5 (diff)
downloadmariadb-git-5064f263546c5928b142e3f36c6b24f63c0f4da2.tar.gz
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
Diffstat (limited to 'myisam')
-rw-r--r--myisam/mi_packrec.c2
1 files changed, 1 insertions, 1 deletions
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));
}