diff --git a/Global.h b/Global.h index 3b6f1e5c0..a596848cb 100644 --- a/Global.h +++ b/Global.h @@ -117,6 +117,10 @@ static_assert(sizeof(bool) == 1, "Bool needs to be 1 byte in size."); #include #endif +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif + /* ---------------------------------------------------------------------------- */ /* Usings */ /* ---------------------------------------------------------------------------- */