aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wsutil/floorl.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/wsutil/floorl.c b/wsutil/floorl.c
index 38c9b3f904..28fae71598 100644
--- a/wsutil/floorl.c
+++ b/wsutil/floorl.c
@@ -31,19 +31,8 @@
long double
floorl(long double x)
{
-#ifdef (__GNUC__)
- /*
- * Handle platforms where GCC has the builtin but the platform's
- * headers (including the headers used with GCC!) don't define
- * floorl() to use it.
- *
- * XXX - are there any such platforms?
- */
- __builtin_floorl(x);
-#else
/* Not perfect, but probably the best workaround available */
return floor((double)x);
-#endif
}
#endif /* !HAVE_FLOORL */