aboutsummaryrefslogtreecommitdiff
path: root/system/include/compat/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/compat/math.h')
-rw-r--r--system/include/compat/math.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/include/compat/math.h b/system/include/compat/math.h
new file mode 100644
index 00000000..089cf66b
--- /dev/null
+++ b/system/include/compat/math.h
@@ -0,0 +1,14 @@
+#ifndef _COMPAT_MATH_H_
+#define _COMPAT_MATH_H_
+
+#ifndef isinff
+ #define isinff isinf
+#endif
+
+#ifndef isnanf
+ #define isnanf isnan
+#endif
+
+#include_next <math.h>
+
+#endif /* _COMPAT_MATH_H_ */