aboutsummaryrefslogtreecommitdiff
path: root/sonogram~/sonogram~-yves.c
diff options
context:
space:
mode:
Diffstat (limited to 'sonogram~/sonogram~-yves.c')
-rw-r--r--sonogram~/sonogram~-yves.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sonogram~/sonogram~-yves.c b/sonogram~/sonogram~-yves.c
index d2ce944..d45bf9e 100644
--- a/sonogram~/sonogram~-yves.c
+++ b/sonogram~/sonogram~-yves.c
@@ -29,6 +29,8 @@
/* ---------------------------------------------------------------------------- */
+/* this doesn't compile on MinGW */
+#ifndef _WIN32
#include <sys/types.h>
#include <string.h>
@@ -2010,3 +2012,5 @@ void sonogram_tilde_setup(void)
class_addmethod(sonogram_class, (t_method)sonogram_readspeed, gensym("readspeed"), A_FLOAT, A_NULL);
class_addmethod(sonogram_class, (t_method)sonogram_undo, gensym("undo"), A_NULL);
}
+
+#endif /* not _WIN32 */