Skip to content

Commit

Permalink
Merge pull request #6 from Antidote/pi-macro-redef
Browse files Browse the repository at this point in the history
Fix macro redefinition error
  • Loading branch information
FIX94 committed Jul 1, 2019
2 parents 09f3204 + 281e9aa commit f97b61f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions audio_vrc7.c
Expand Up @@ -122,8 +122,12 @@ static struct {
uint8_t reg;
} vrc7_apu;

#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
#ifndef M_2PI
#define M_2PI 6.28318530717958647692
#endif

void vrc7AudioInit()
{
Expand Down

0 comments on commit f97b61f

Please sign in to comment.