summaryrefslogtreecommitdiff
path: root/src/mathc99.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mathc99.h')
-rw-r--r--src/mathc99.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mathc99.h b/src/mathc99.h
new file mode 100644
index 0000000..4d5d3be
--- /dev/null
+++ b/src/mathc99.h
@@ -0,0 +1,16 @@
+#ifndef MATHC99_H_
+#define MATHC99_H_
+
+#ifdef WIN32
+
+#include <cmath>
+//for native win32 builds we need to provide C99 math functions by ourselves
+double round(double a);
+
+#else
+
+#include <math.h>
+
+#endif
+
+#endif
contact: Jan Huwald // Impressum