about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/math.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/math.h b/include/math.h
index 50094c1816..15ad10331a 100644
--- a/include/math.h
+++ b/include/math.h
@@ -9,17 +9,21 @@ extern int __finite_internal (double __value)
      __attribute__ ((__const__)) attribute_hidden;
 extern int __finitef_internal (float __value)
      __attribute__ ((__const__)) attribute_hidden;
-extern int __finitel_internal (long double __value)
-     __attribute__ ((__const__)) attribute_hidden;
 
 extern int __isinf_internal (double __value)
      __attribute__ ((__const__)) attribute_hidden;
-extern int __isinfl_internal (long double __value)
-     __attribute__ ((__const__)) attribute_hidden;
 extern int __isnan_internal (double __value)
      __attribute__ ((__const__)) attribute_hidden;
+
+#ifndef __NO_LONG_DOUBLE_MATH
+extern int __finitel_internal (long double __value)
+     __attribute__ ((__const__)) attribute_hidden;
+
+extern int __isinfl_internal (long double __value)
+     __attribute__ ((__const__)) attribute_hidden;
 extern int __isnanl_internal (long double __value)
      __attribute__ ((__const__)) attribute_hidden;
+#endif
 
 #if !defined NOT_IN_libc || defined IS_IN_libm
 # undef isfinite