aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Holzmann <grholzi@users.sourceforge.net>2007-01-07 19:36:21 +0000
committerGeorg Holzmann <grholzi@users.sourceforge.net>2007-01-07 19:36:21 +0000
commitd35f7be5731f717d8510ca826e4c14ab6191ea69 (patch)
tree13d233eac8dca81f2b907302a153a8ccea223739
parentc06b1dfc4bcf5a22c1483ebb20deb8b5dc524e3d (diff)
now it's also possible to compile adaptive as single externals
svn path=/trunk/externals/grh/; revision=7227
-rwxr-xr-xadaptive/src/adaptive.c6
1 files changed, 6 insertions, 0 deletions
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 ----------------------- */