aboutsummaryrefslogtreecommitdiff
path: root/sonogram~/sonogram~.c
diff options
context:
space:
mode:
Diffstat (limited to 'sonogram~/sonogram~.c')
-rw-r--r--sonogram~/sonogram~.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sonogram~/sonogram~.c b/sonogram~/sonogram~.c
index 75d17e4..d19b4a9 100644
--- a/sonogram~/sonogram~.c
+++ b/sonogram~/sonogram~.c
@@ -29,6 +29,9 @@
/* ---------------------------------------------------------------------------- */
+/* this doesn't compile on MinGW */
+#ifndef _WIN32
+
#include <sys/types.h>
#include <string.h>
@@ -2087,3 +2090,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 */