aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-10-23 19:54:59 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-10-23 19:54:59 +0000
commitcfacf11f47ff22253b6814aa9c919d37c74bd6f2 (patch)
treeb4d12460bbbb9692b31012c5e7a8fcbdf987c84b
parent693f0accd9dc80269ca3f3b9d060c99bd8e99859 (diff)
w32 doesn't like zero_perf8 sincie it is not exported by pd
svn path=/trunk/externals/zexy/; revision=3759
-rw-r--r--src/dirac~.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/dirac~.c b/src/dirac~.c
index ddd3397..08b1646 100644
--- a/src/dirac~.c
+++ b/src/dirac~.c
@@ -83,7 +83,17 @@ static t_int *dirac_perf8(t_int *w)
t_int do_it = x->do_it;
+#ifndef __WIN32__
+ /* LATER: investigate the occurence of zero_perf8() */
+ /* it seems, like pd has the symbol zero_perf8(),
+ * but it is not exported by m_pd.h:
+ * so linux can use it, but w32 not
+ * have to tell miller about that
+ */
zero_perf8(w+1);
+#else
+ zero_perform(w+1);
+#endif
if (do_it >= n)
x->do_it -= n;