Skip to content

Commit a00b399

Browse files
committed
manually define M_PI if not defined
1 parent 385cb0f commit a00b399

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Source/LFO.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
#define _USE_MATH_DEFINES
77
#include <cmath>
88

9+
#ifndef M_PI
10+
#define M_PI 3.14159265358979323846
11+
#endif
12+
913
#include <JuceHeader.h>
1014

1115
struct SignalGenData

0 commit comments

Comments
 (0)