From ead9ba14ab569e5644e2deeffc436c31b53ea141 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 11 Jan 2005 04:58:12 +0000 Subject: build system: added profiler mode, more fixes fixed buggy unbinding of receive symbols fixed shared library names better templates, some minor changes added method for clicks into object box svn path=/trunk/; revision=2488 --- externals/grill/flext/source/flbuf.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'externals/grill/flext/source/flbuf.cpp') diff --git a/externals/grill/flext/source/flbuf.cpp b/externals/grill/flext/source/flbuf.cpp index e42015c6..1d2ff839 100644 --- a/externals/grill/flext/source/flbuf.cpp +++ b/externals/grill/flext/source/flbuf.cpp @@ -43,8 +43,12 @@ flext::buffer::buffer(const t_symbol *bn,bool delayed): ticking = false; tick = clock_new(this,(t_method)cb_tick); #elif FLEXT_SYS == FLEXT_SYS_MAX - if(!sym_buffer) sym_buffer = flext::MakeSymbol("buffer~"); - if(!sym_size) sym_size = flext::MakeSymbol("size"); + // for some strange reasons (maybe only on Mac) + // static initializations are not processed + if(!sym_buffer) { + sym_buffer = flext::MakeSymbol("buffer~"); + sym_size = flext::MakeSymbol("size"); + } #endif if(bn) Set(bn,delayed); -- cgit v1.2.1