aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/tcc.h b/tcc.h
index 39b0f67..d158829 100644
--- a/tcc.h
+++ b/tcc.h
@@ -873,18 +873,6 @@ enum tcc_token {
#define strtof (float)strtod
#define strtoll (long long)strtol
#endif
-#elif defined(TCC_UCLIBC) || defined(__FreeBSD__) \
- || defined(__FreeBSD_kernel__) || defined(__DragonFly__) \
- || defined(__OpenBSD__)
-/* currently incorrect */
-static inline long double strtold(const char *nptr, char **endptr)
-{
- return (long double)strtod(nptr, endptr);
-}
-static inline float strtof(const char *nptr, char **endptr)
-{
- return (float)strtod(nptr, endptr);
-}
#else
/* XXX: need to define this to use them in non ISOC99 context */
extern float strtof (const char *__nptr, char **__endptr);