Update of /cvsroot/pure-data/externals/footils/knob
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13740/footils/knob
Modified Files:
knob.c
Log Message:
WARNING: this is a kludge to get this object building on Windows. Currently, the linker fails on the symbol"sys_noloadbang".
Index: knob.c
===================================================================
RCS file: /cvsroot/pure-data/externals/footils/knob/knob.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** knob.c 18 Dec 2005 16:32:37 -0000 1.6
--- knob.c 2 Feb 2007 01:37:06 -0000 1.7
***************
*** 608,612 ****
--- 608,620 ----
static void knob_loadbang(t_knob *x)
{
+ /* WARNING: this is a kludge to get this object building on
+ Windows. Currently, the linker fails on the symbol
+ "sys_noloadbang". <hans(a)at.or.at>
+ */
+ #ifdef _WIN32
+ if(x->x_gui.x_isa.x_loadinit)
+ #else
if(!sys_noloadbang && x->x_gui.x_isa.x_loadinit)
+ #endif
{
(*x->x_gui.x_draw)(x, x->x_gui.x_glist, IEM_GUI_DRAW_MODE_UPDATE);