From b22dbbbee619ac3dd376fa19d2a9a13ea282df1e Mon Sep 17 00:00:00 2001 From: Ross maxx Date: Thu, 6 Jul 2023 10:54:17 +0530 Subject: [PATCH 1/5] added _USE_MATH_DEFINES in ladspa_util.h --- ladspa-util.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ladspa-util.h b/ladspa-util.h index 1369581..be7d082 100644 --- a/ladspa-util.h +++ b/ladspa-util.h @@ -7,6 +7,10 @@ #ifndef LADSPA_UTIL_H #define LADSPA_UTIL_H +#ifndef _USE_MATH_DEFINES +#define _USE_MATH_DEFINES +#endif + #include #include From 5d05a25a158eba8583ea9c4eefd161a54ffba986 Mon Sep 17 00:00:00 2001 From: Ross maxx Date: Thu, 6 Jul 2023 11:24:34 +0530 Subject: [PATCH 2/5] added _USE_MATH_DEFINES to pitchscale.h --- util/pitchscale.c | 1 - util/pitchscale.h | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/util/pitchscale.c b/util/pitchscale.c index f443ced..b54b5a4 100644 --- a/util/pitchscale.c +++ b/util/pitchscale.c @@ -37,7 +37,6 @@ #include #include "../config.h" -#include #include "pitchscale.h" diff --git a/util/pitchscale.h b/util/pitchscale.h index 7ca6631..09f4f9f 100644 --- a/util/pitchscale.h +++ b/util/pitchscale.h @@ -3,6 +3,12 @@ #include +#ifndef _USE_MATH_DEFINES +#define _USE_MATH_DEFINES +#endif + +#include + #ifdef FFTW3 #include From 98908789b13e99b99c342ec26d4fca1f6031cc03 Mon Sep 17 00:00:00 2001 From: Ross maxx Date: Thu, 6 Jul 2023 11:37:01 +0530 Subject: [PATCH 3/5] workaround to support sinus_wavewrapper --- sinus_wavewrapper_1198.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sinus_wavewrapper_1198.xml b/sinus_wavewrapper_1198.xml index 95c0626..1b5a386 100644 --- a/sinus_wavewrapper_1198.xml +++ b/sinus_wavewrapper_1198.xml @@ -13,6 +13,11 @@

Produces an unusual distortion effect, for a more amp like tone, see the valve saturation plugin (section \ref{valve}).

Date: Thu, 6 Jul 2023 11:55:00 +0530 Subject: [PATCH 4/5] Revert "workaround to support sinus_wavewrapper" This reverts commit 98908789b13e99b99c342ec26d4fca1f6031cc03. --- sinus_wavewrapper_1198.xml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sinus_wavewrapper_1198.xml b/sinus_wavewrapper_1198.xml index 1b5a386..95c0626 100644 --- a/sinus_wavewrapper_1198.xml +++ b/sinus_wavewrapper_1198.xml @@ -13,11 +13,6 @@

Produces an unusual distortion effect, for a more amp like tone, see the valve saturation plugin (section \ref{valve}).

Date: Fri, 7 Jul 2023 09:58:02 +0530 Subject: [PATCH 5/5] another attempt to fix msvc builds --- makestub.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/makestub.pl b/makestub.pl index 99e2108..4d7cf84 100755 --- a/makestub.pl +++ b/makestub.pl @@ -81,6 +81,9 @@ \#define __USE_ISOC99 1 \#define __USE_ISOC9X 1 +\#ifndef _USE_MATH_DEFINES +\#define _USE_MATH_DEFINES +\#endif \#include \#include "ladspa.h"