summaryrefslogtreecommitdiff
path: root/libc/misc/strtod.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/strtod.c')
-rw-r--r--libc/misc/strtod.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/misc/strtod.c b/libc/misc/strtod.c
index 8acb423..cef9d9f 100644
--- a/libc/misc/strtod.c
+++ b/libc/misc/strtod.c
@@ -20,6 +20,9 @@
#include <stdlib.h>
#include <ctype.h>
+#ifndef __AS386_16__
+/* BCC-16 has broken FP code */
+
double
strtod(const char *nptr, char ** endptr)
{
@@ -94,3 +97,4 @@ strtod(const char *nptr, char ** endptr)
}
return (negative ? -number:number);
}
+#endif