diff options
author | unknown <venu@myvenu.com> | 2003-01-18 14:04:34 -0800 |
---|---|---|
committer | unknown <venu@myvenu.com> | 2003-01-18 14:04:34 -0800 |
commit | e2c7d5d7ec77d056cc2ad7c9d9ef7cb132cc78de (patch) | |
tree | 0224ea691e3d85f3eebb0412ae0b6eea5a4e39c8 /myisam/mi_check.c | |
parent | 193d1f6c3bcb05ff694c8e300f00b68b44b08d24 (diff) | |
download | mariadb-git-e2c7d5d7ec77d056cc2ad7c9d9ef7cb132cc78de.tar.gz |
Windows build fix
Diffstat (limited to 'myisam/mi_check.c')
-rw-r--r-- | myisam/mi_check.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/myisam/mi_check.c b/myisam/mi_check.c index 28c28e628ea..700ac5b0b62 100644 --- a/myisam/mi_check.c +++ b/myisam/mi_check.c @@ -62,22 +62,6 @@ static SORT_KEY_BLOCKS *alloc_key_blocks(MI_CHECK *param, uint blocks, static ha_checksum mi_byte_checksum(const byte *buf, uint length); static void set_data_file_type(SORT_INFO *sort_info, MYISAM_SHARE *share); -#ifdef __WIN__ -static double ulonglong2double(ulonglong value) -{ - longlong nr=(longlong) value; - if (nr >= 0) - return (double) nr; - return (18446744073709551616.0 + (double) nr); -} - -#if SIZEOF_OFF_T > 4 -#define my_off_t2double(A) ulonglong2double(A) -#else -#define my_off_t2double(A) ((double) (A)) -#endif /* SIZEOF_OFF_T > 4 */ -#endif /* __WIN__ */ - void myisamchk_init(MI_CHECK *param) { bzero((gptr) param,sizeof(*param)); |