diff options
author | monty@mysql.com <> | 2003-12-16 13:20:17 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2003-12-16 13:20:17 +0200 |
commit | 56f0abf7bb88c98adc4e65de032f63f40498b834 (patch) | |
tree | 7caf9e264c5defe6995ae178452a829c4064f97c /strings | |
parent | 217226f9afcefb7918ce0aee5ac920dfdf73edf0 (diff) | |
download | mariadb-git-56f0abf7bb88c98adc4e65de032f63f40498b834.tar.gz |
Portability fixes (mostly test suite)
Make ENGINE= an alias for TYPE= (Compabiltiy with 4.1)
Fix when using symlinked data files and realpath() is not working
Diffstat (limited to 'strings')
-rw-r--r-- | strings/strto.c | 2 | ||||
-rw-r--r-- | strings/strtoll.c | 3 | ||||
-rw-r--r-- | strings/strtoull.c | 1 |
3 files changed, 2 insertions, 4 deletions
diff --git a/strings/strto.c b/strings/strto.c index bd0c8e38fde..c98b19a7e67 100644 --- a/strings/strto.c +++ b/strings/strto.c @@ -35,8 +35,6 @@ it can be compiled with the UNSIGNED and/or LONGLONG flag set */ -#define strtoll glob_strtoll /* Fix for True64 */ - #include <my_global.h> #include "m_string.h" #include "m_ctype.h" diff --git a/strings/strtoll.c b/strings/strtoll.c index 8d0ba21d576..b0b4ef328fc 100644 --- a/strings/strtoll.c +++ b/strings/strtoll.c @@ -16,8 +16,9 @@ /* This is defines strtoll() if neaded */ +#define strtoll glob_strtoll /* Fix for True64 */ + #include <my_global.h> -#include <m_string.h> #if !defined(HAVE_STRTOLL) && defined(HAVE_LONG_LONG) #define USE_LONGLONG #include "strto.c" diff --git a/strings/strtoull.c b/strings/strtoull.c index 25201e546ce..f4f3ce19bf7 100644 --- a/strings/strtoull.c +++ b/strings/strtoull.c @@ -17,7 +17,6 @@ /* This is defines strtoull() */ #include <my_global.h> -#include <m_string.h> #if !defined(HAVE_STRTOULL) && defined(HAVE_LONG_LONG) #define USE_UNSIGNED #define USE_LONGLONG |