diff options
Diffstat (limited to 'libsensors_iio/software/core/mpl/inv_math.h')
-rw-r--r-- | libsensors_iio/software/core/mpl/inv_math.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libsensors_iio/software/core/mpl/inv_math.h b/libsensors_iio/software/core/mpl/inv_math.h new file mode 100644 index 0000000..6620bbf --- /dev/null +++ b/libsensors_iio/software/core/mpl/inv_math.h @@ -0,0 +1,8 @@ +/* math.h has many functions and defines that are not consistent across
+* platforms. This address that */
+
+#ifdef _WINDOWS
+#define _USE_MATH_DEFINES
+#endif
+
+#include <math.h>
|