projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
typo in math.h c version check
[musl]
/
include
/
math.h
diff --git
a/include/math.h
b/include/math.h
index
1a5f6fe
..
4c46a05
100644
(file)
--- 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)))
#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;
{
if (isunordered(__x, __y)) return 0;
if (__rel==-2) return __x < __y;