summaryrefslogtreecommitdiff
path: root/libc/stdlib/strtof.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/strtof.c')
-rw-r--r--libc/stdlib/strtof.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/stdlib/strtof.c b/libc/stdlib/strtof.c
index a5180677c..d25a67d05 100644
--- a/libc/stdlib/strtof.c
+++ b/libc/stdlib/strtof.c
@@ -23,6 +23,8 @@
* to an internal conversion from a double to a float, thereby wasting a bunch
* of precision. But this is small, and works for now... */
+#define strtod __strtod
+
#include <stdlib.h>
float strtof (const char *str, char **endptr)