From 448b783e8bfac1e1d9537e984ea41f59eeb55ca3 Mon Sep 17 00:00:00 2001 From: tresf Date: Wed, 17 Dec 2014 13:43:14 -0500 Subject: [PATCH] Fix compilation on Xcode 4.6 --- plugins/LadspaEffect/swh/imp_1199.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/LadspaEffect/swh/imp_1199.c b/plugins/LadspaEffect/swh/imp_1199.c index ec1b35028..05a59c565 100644 --- a/plugins/LadspaEffect/swh/imp_1199.c +++ b/plugins/LadspaEffect/swh/imp_1199.c @@ -74,7 +74,11 @@ static fftw_real *real_in, *real_out, *comp_in, *comp_out; unsigned int fft_length[IMPULSES]; +#ifdef __clang__ +void impulse2freq(int id, float *imp, unsigned int length, fftw_real *out) +#elif inline void impulse2freq(int id, float *imp, unsigned int length, fftw_real *out) +#endif { fftw_real impulse_time[MAX_FFT_LENGTH]; #ifdef FFTW3