From d35f7be5731f717d8510ca826e4c14ab6191ea69 Mon Sep 17 00:00:00 2001 From: Georg Holzmann Date: Sun, 7 Jan 2007 19:36:21 +0000 Subject: now it's also possible to compile adaptive as single externals svn path=/trunk/externals/grh/; revision=7227 --- adaptive/src/adaptive.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/adaptive/src/adaptive.c b/adaptive/src/adaptive.c index db0e3e3..5c3b651 100755 --- a/adaptive/src/adaptive.c +++ b/adaptive/src/adaptive.c @@ -15,6 +15,11 @@ #include "adaptive.h" +#ifdef ADAPTIVE_SINGLE_OBJ +// for single externals disable the adaptive object +#else +// build as library + typedef struct _adaptive { t_object x_obj; @@ -64,6 +69,7 @@ void adaptive_setup(void) class_addmethod(adaptive_class, (t_method)adaptive_help, gensym("help"), 0); } +#endif // library /* ---------------------- helpers ----------------------- */ -- cgit v1.2.1