From d5023bc5faf173eb347b2fd5231a15a354d238ee Mon Sep 17 00:00:00 2001 From: kearwood Date: Sun, 3 Dec 2023 23:04:41 -0800 Subject: [PATCH] Fix copy-pasta in header. Increase scope of SIREN_DSP_SLOW to entire file. --- include/siren.h | 2 +- src/dsp_slow.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/siren.h b/include/siren.h index c6fab52..3fbc29b 100644 --- a/include/siren.h +++ b/include/siren.h @@ -1,5 +1,5 @@ // -// hydra.h +// siren.h // Kraken Engine / Siren // // Copyright 2023 Kearwood Gilbert. All rights reserved. diff --git a/src/dsp_slow.cpp b/src/dsp_slow.cpp index da64cd7..b7ec9ac 100644 --- a/src/dsp_slow.cpp +++ b/src/dsp_slow.cpp @@ -31,14 +31,14 @@ #include "../include/dsp.h" +#ifdef SIREN_DSP_SLOW + // _USE_MATH_DEFINES must be defined to get M_PI in Windows #define _USE_MATH_DEFINES #include #include -#ifdef SIREN_DSP_SLOW - namespace siren { namespace dsp {