aboutsummaryrefslogtreecommitdiff
path: root/system/include/compat/math.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-17 12:54:49 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-17 12:54:49 -0700
commit2dc7b87600df12ff7cf6cabe42cd4c9d251d44de (patch)
treeb358d2470b4588d084f986953c1a5962c92b8d2f /system/include/compat/math.h
parentbff2b8740aba888bd67ee93198abc8fa0e116b80 (diff)
parent10d1cb9f3e515778e7841b61df4c6ad94c3d8352 (diff)
Merge pull request #1529 from waywardmonkeys/compat-headers
Compat headers
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_ */