M_PI isn't a part of standard and may be undefined.
@@ -117,6 +117,10 @@ static_assert(sizeof(bool) == 1, "Bool needs to be 1 byte in size.");
#include <android/log.h>
#endif
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif
+
/* ---------------------------------------------------------------------------- */
/* Usings */