Skip to content

Commit 385cb0f

Browse files
committed
math defines, <cmath> in lfo
1 parent 33b7500 commit 385cb0f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/cmake.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: juce-ci
22

33
on: [push]
44

5-
env:
6-
BUILD_TYPE: Release
5+
# env:
6+
# BUILD_TYPE: Release
77

88
jobs:
99
build:

Source/LFO.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
#pragma once
44

5-
// #include <cmath>
5+
// needed for M_PI
6+
#define _USE_MATH_DEFINES
7+
#include <cmath>
68

79
#include <JuceHeader.h>
810

0 commit comments

Comments
 (0)