summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorserg@serg.mylan <>2004-02-13 15:27:21 +0100
committerserg@serg.mylan <>2004-02-13 15:27:21 +0100
commit5914e5705c62e065d52754d2e33f7224398d3e0e (patch)
treee72eb3285c6d77bd43ee040603595ce715626551 /include/my_global.h
parent67fbc4d2b70ffeab70d547a59e2d9af05c8e3d41 (diff)
downloadmariadb-git-5914e5705c62e065d52754d2e33f7224398d3e0e.tar.gz
my_atof is deleted
strtod from mit-threads is restored and cleaned up
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/include/my_global.h b/include/my_global.h
index c9660d4d649..41e3636116a 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -522,7 +522,7 @@ typedef SOCKET_SIZE_TYPE size_socket;
#define FN_EXTCHAR '.'
#define FN_HOMELIB '~' /* ~/ is used as abbrev for home dir */
#define FN_CURLIB '.' /* ./ is used as abbrev for current dir */
-#define FN_PARENTDIR ".." /* Parentdirectory; Must be a string */
+#define FN_PARENTDIR ".." /* Parent directory; Must be a string */
#define FN_DEVCHAR ':'
#ifndef FN_LIBCHAR
@@ -581,14 +581,6 @@ typedef SOCKET_SIZE_TYPE size_socket;
/* Some defines of functions for portability */
-#ifndef HAVE_ATOD
-#define atod atof
-#endif
-#ifdef USE_MY_ATOF
-#define atof my_atof
-extern void init_my_atof(void);
-extern double my_atof(const char*);
-#endif
#undef remove /* Crashes MySQL on SCO 5.0.0 */
#ifndef __WIN__
#ifdef OS2
@@ -677,6 +669,10 @@ extern double my_atof(const char*);
#define FLT_MAX ((float)3.40282346638528860e+38)
#endif
+#ifndef HAVE_ISINF
+#define isinf(X) 0
+#endif
+
/*
Max size that must be added to a so that we know Size to make
adressable obj.