projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4ff97e
)
src/synth/sampler.c: no #warning for msvc
author
Paul Brossier
<piem@piem.org>
Tue, 14 Mar 2017 05:08:47 +0000
(06:08 +0100)
committer
Paul Brossier
<piem@piem.org>
Tue, 14 Mar 2017 05:08:47 +0000
(06:08 +0100)
src/synth/sampler.c
patch
|
blob
|
history
diff --git
a/src/synth/sampler.c
b/src/synth/sampler.c
index
9e19973
..
2e99bfc
100644
(file)
--- a/
src/synth/sampler.c
+++ b/
src/synth/sampler.c
@@
-32,9
+32,12
@@
#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,