musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat
-rw-r--r--include/math.h 6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/math.h b/include/math.h
index 1a5f6fe9..4af75ed7 100644
--- a/include/math.h
+++ b/include/math.h
@@ -52,7 +52,11 @@ int __fpclassifyl(long double);
#define isunordered(x,y) (isnan((x)) ? ((y),1) : isnan((y)))
-static inline int __isrel(long double __x, long double __y, int __rel)
+static
+#if __STDC_VERSION >= 199901L
+inline
+#endif
+int __isrel(long double __x, long double __y, int __rel)
{
if (isunordered(__x, __y)) return 0;
if (__rel==-2) return __x < __y;
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月06日 13:44:46 +0000

AltStyle によって変換されたページ (->オリジナル) /