From 1c37f63cfee27fb0eb57f69c5ed6b2e415e31e0f Mon Sep 17 00:00:00 2001 From: Luis Michaelis Date: Tue, 20 Aug 2024 17:40:45 +0200 Subject: [PATCH] [#6] fix(build): define `M_PI` manually if `` does not define it --- src/Performance.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Performance.c b/src/Performance.c index e39c221..02244c9 100644 --- a/src/Performance.c +++ b/src/Performance.c @@ -4,6 +4,10 @@ #include #include +#ifndef M_PI + #define M_PI 3.14159 +#endif + enum { DmInt_DEFAULT_TEMPO = 100, DmInt_DEFAULT_SAMPLE_RATE = 44100,