diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-07-09 20:57:12 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-07-09 20:57:12 +0000 |
commit | 740e64b59bdb2ca4b08a11162a20f8bb1d305b00 (patch) | |
tree | 0aa5d0a58fbfa5d7125d70b9fc70fc4657e3bee9 | |
parent | 17ec1deb74e2e934dc11fb4d9a2f8c6cef34c5a7 (diff) |
got moonlib compiling with some minor tweaks
svn path=/trunk/externals/moonlib/; revision=7952
-rw-r--r-- | dinlet~.c | 2 | ||||
-rw-r--r-- | joystik.c | 2 | ||||
-rw-r--r-- | wac.c | 3 |
3 files changed, 5 insertions, 2 deletions
@@ -121,7 +121,7 @@ static void *dinlet_newsig(t_floatarg f) { t_vinlet *x = (t_vinlet *)pd_new(vinlet_class); x->x_canvas = canvas_getcurrent(); - x->x_inlet = canvas_addinlet(x->x_canvas, &x->x_obj.ob_pd, &s_signal,0); + x->x_inlet = canvas_addinlet(x->x_canvas, &x->x_obj.ob_pd, &s_signal); x->x_endbuf = x->x_buf = (t_float *)getbytes(0); x->x_bufsize = 0; x->x_directsignal = 0; @@ -1,3 +1,4 @@ +#ifdef __gnu_linux__ /* 'pd_joystik' (An external library for Miller Puckette's 'PD' software adding PC and/or USB joystik control capabilities) @@ -189,3 +190,4 @@ static void joystik_read(GList *l,int fd) } } +#endif /* __gnu_linux__ */ @@ -2,7 +2,8 @@ wacom graphire on serial port only... */ -#include <m_imp.h> +#include <m_pd.h> +#include <s_stuff.h> #include <sys/types.h> #include <sys/stat.h> |