]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Expose __isinff128 for clang
authorPranav Kant <prka@google.com>
Fri, 29 Dec 2023 00:19:59 +0000 (00:19 +0000)
committerPranav Kant <prka@google.com>
Fri, 29 Dec 2023 00:19:59 +0000 (00:19 +0000)
sysdeps/generic/math_private.h

index e4b9d8697f2129095cee68773bc620cb239754ef..d5b900ad65e17348cd35ac125183783e719382ec 100644 (file)
@@ -227,7 +227,7 @@ do {                                                                \
 #if __HAVE_DISTINCT_FLOAT128
 
 /* __builtin_isinf_sign is broken in GCC < 7 for float128.  */
-# if ! __GNUC_PREREQ (7, 0)
+# if ! __GNUC_PREREQ (7, 0) || defined(__clang__)
 #  include <ieee754_float128.h>
 extern inline int
 __isinff128 (_Float128 x)