From 67e94dc1ded99b6d53637fa56e76e03731088e58 Mon Sep 17 00:00:00 2001 From: AlexeyAB Date: Sun, 8 Dec 2019 01:03:56 +0300 Subject: [PATCH] Minor fix --- src/utils.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/utils.h b/src/utils.h index 9fa05fa7..421a313d 100644 --- a/src/utils.h +++ b/src/utils.h @@ -6,6 +6,10 @@ #include #include +#ifndef M_PI +#define M_PI 3.14159265358979323846 // pi +#endif + #ifdef __cplusplus extern "C" { #endif