From 77deeb7ee6b533f3cafac3524362cd783c79b2e8 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 30 Jun 2006 02:25:35 +0300 Subject: Fixed include file usage hp_test2 now works again Fixed wrong cast, which caused problems with gcc 4.0 and floats in prepared statements (Bug #19694) heap/hp_test1.c: Portability fix heap/hp_test2.c: Added max_table_size (fixes that hp_test2 works again) include/my_global.h: Fixed wrong cast, which caused problems with gcc 4.0 (Bug #19694) mysys/my_handler.c: Added missing include file strings/strtod.c: Fixed include files --- strings/strtod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'strings') diff --git a/strings/strtod.c b/strings/strtod.c index 61f2c107abe..da1b4f4baa6 100644 --- a/strings/strtod.c +++ b/strings/strtod.c @@ -26,8 +26,8 @@ */ -#include "my_base.h" /* Includes errno.h */ -#include "m_ctype.h" +#include /* Includes errno.h */ +#include #define MAX_DBL_EXP 308 #define MAX_RESULT_FOR_MAX_EXP 1.79769313486232 -- cgit v1.2.1 From a14c9ddf2b978381e8a35a740333080984bd4c3c Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 30 Jun 2006 00:10:41 -0400 Subject: Fixing windows build. strings/strtod.c: Reverting previous change to include files (angle brackets instead of quotes) that broke windows build --- strings/strtod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'strings') diff --git a/strings/strtod.c b/strings/strtod.c index da1b4f4baa6..c2534b509d6 100644 --- a/strings/strtod.c +++ b/strings/strtod.c @@ -26,8 +26,8 @@ */ -#include /* Includes errno.h */ -#include +#include "my_global.h" /* Includes errno.h */ +#include "m_ctype.h" #define MAX_DBL_EXP 308 #define MAX_RESULT_FOR_MAX_EXP 1.79769313486232 -- cgit v1.2.1 From 949ad5b439a3b96dd53b2901e5277e6a0c75e128 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 30 Jun 2006 11:10:38 +0200 Subject: Fix Windows build problem following previous push. strings/strtod.c: Fix Windows build problem, EOVERFLOW is defined in my_base.h on Windows. --- strings/strtod.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'strings') diff --git a/strings/strtod.c b/strings/strtod.c index c2534b509d6..e0910205d2f 100644 --- a/strings/strtod.c +++ b/strings/strtod.c @@ -26,7 +26,8 @@ */ -#include "my_global.h" /* Includes errno.h */ +#include "my_base.h" /* Defines EOVERFLOW on Windows */ +#include "my_global.h" /* Includes errno.h */ #include "m_ctype.h" #define MAX_DBL_EXP 308 -- cgit v1.2.1