diff options
author | reggie@mdk10.(none) <> | 2005-02-23 22:55:46 -0600 |
---|---|---|
committer | reggie@mdk10.(none) <> | 2005-02-23 22:55:46 -0600 |
commit | 579293a29f493b044d7bb0aede917d0f1719d01a (patch) | |
tree | cd1bfdbf7f227ea03ebe9dba639ccafb1edf86ef /sql/my_decimal.h | |
parent | cfdf5bcdc80294b792dd5fe60750a671c0aac340 (diff) | |
download | mariadb-git-579293a29f493b044d7bb0aede917d0f1719d01a.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
Diffstat (limited to 'sql/my_decimal.h')
-rw-r--r-- | sql/my_decimal.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/my_decimal.h b/sql/my_decimal.h index b3d6b6ccde6..c02b0cb4c8b 100644 --- a/sql/my_decimal.h +++ b/sql/my_decimal.h @@ -244,8 +244,7 @@ int str2my_decimal(uint mask, const char *str, my_decimal *d, char **end) int str2my_decimal(uint mask, const char *from, uint length, CHARSET_INFO *charset, my_decimal *decimal_value); - -#ifdef MYSQL_SERVER +#if defined(MYSQL_SERVER) || defined(EMBEDDED_LIBRARY) inline int string2my_decimal(uint mask, const String *str, my_decimal *d) { @@ -253,7 +252,6 @@ int string2my_decimal(uint mask, const String *str, my_decimal *d) } #endif - inline int double2my_decimal(uint mask, double val, my_decimal *d) { |