aboutsummaryrefslogtreecommitdiff
path: root/sonogram~/sonogram~-joge.c
diff options
context:
space:
mode:
Diffstat (limited to 'sonogram~/sonogram~-joge.c')
-rw-r--r--sonogram~/sonogram~-joge.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sonogram~/sonogram~-joge.c b/sonogram~/sonogram~-joge.c
index f420698..62a23c3 100644
--- a/sonogram~/sonogram~-joge.c
+++ b/sonogram~/sonogram~-joge.c
@@ -28,7 +28,8 @@
/* David Thomas - Final Solution */
/* ---------------------------------------------------------------------------- */
-
+/* this doesn't compile on MinGW */
+#ifndef _WIN32
#include <sys/types.h>
#include <string.h>
@@ -2037,3 +2038,6 @@ 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 */