aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sonogram~/sonogram~-joge.c6
-rw-r--r--sonogram~/sonogram~-yves.c4
-rw-r--r--sonogram~/sonogram~.c5
3 files changed, 14 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 */
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 */
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 */