From 388c2e79058b4f99a48507df6f2ec0d0bc15c6a2 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 14 Mar 2017 06:08:47 +0100 Subject: [PATCH] src/synth/sampler.c: no #warning for msvc --- src/synth/sampler.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/synth/sampler.c b/src/synth/sampler.c index 9e19973b..2e99bfcb 100644 --- a/src/synth/sampler.c +++ b/src/synth/sampler.c @@ -32,9 +32,12 @@ #define HAVE_THREADS 1 #include #else -// FIXME add support for threading on windows +#ifdef _MSC_VER +#pragma message "compiling sampler without threading" +#else #warning "compiling sampler without threading" #endif +#endif typedef enum { aubio_sampler_reading_from_source, -- 2.11.0