diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2002-12-05 05:36:32 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2002-12-05 05:36:32 +0000 |
commit | 60ee6bb60b11bbfbccf56f335c9c6213e6daa79d (patch) | |
tree | 99b0c72c60aeba5d1a0489aae9edd16f371d965c /externals/grill/flext/source/flbase.cpp | |
parent | bbd9d289d152f6ef085dec680f0b1611c29f0e32 (diff) |
""
svn path=/trunk/; revision=278
Diffstat (limited to 'externals/grill/flext/source/flbase.cpp')
-rw-r--r-- | externals/grill/flext/source/flbase.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/externals/grill/flext/source/flbase.cpp b/externals/grill/flext/source/flbase.cpp index 5a2e5f0a..b321fbf1 100644 --- a/externals/grill/flext/source/flbase.cpp +++ b/externals/grill/flext/source/flbase.cpp @@ -14,7 +14,7 @@ WARRANTIES, see the file, "license.txt," in this distribution. \remark This is all derived from GEM by Mark Danks */ -#include "flbase.h" +#include "flext.h" #include "flinternal.h" #include <string.h> @@ -41,9 +41,9 @@ flext_obj :: flext_obj() , procattr(m_holdattr) , init_ok(true) { -#ifdef PD +#if FLEXT_SYS == FLEXT_SYS_PD m_canvas = canvas_getcurrent(); -#elif defined(MAXMSP) +#elif FLEXT_SYS == FLEXT_SYS_MAX m_canvas = (t_patcher *)gensym("#P")->s_thing; x_obj->curinlet = 0; #endif @@ -58,7 +58,7 @@ flext_obj :: ~flext_obj() {} void flext_obj::DefineHelp(t_class *c,const char *ref,const char *dir,bool addtilde) { -#ifdef PD +#if FLEXT_SYS == FLEXT_SYS_PD char tmp[256]; if(dir) { strcpy(tmp,dir); @@ -70,7 +70,7 @@ void flext_obj::DefineHelp(t_class *c,const char *ref,const char *dir,bool addti strcpy(tmp,ref); ::class_sethelpsymbol(c,gensym(const_cast<char *>(tmp))); #else - // no solution for MaxMSP yet + // no solution for Max/MSP yet #endif } |