src/synth/sampler.c: no #warning for msvc
authorPaul Brossier <piem@piem.org>
Tue, 14 Mar 2017 05:08:47 +0000 (06:08 +0100)
committerPaul Brossier <piem@piem.org>
Tue, 14 Mar 2017 05:08:47 +0000 (06:08 +0100)
src/synth/sampler.c

index 9e19973..2e99bfc 100644 (file)
 #define HAVE_THREADS 1
 #include <pthread.h>
 #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,