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/py/source/main.cpp | |
parent | bbd9d289d152f6ef085dec680f0b1611c29f0e32 (diff) |
""
svn path=/trunk/; revision=278
Diffstat (limited to 'externals/grill/py/source/main.cpp')
-rw-r--r-- | externals/grill/py/source/main.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/externals/grill/py/source/main.cpp b/externals/grill/py/source/main.cpp index 2522ff51..a0e77cef 100644 --- a/externals/grill/py/source/main.cpp +++ b/externals/grill/py/source/main.cpp @@ -181,7 +181,7 @@ V py::ReloadModule() V py::GetModulePath(const C *mod,C *dir,I len) { -#ifdef PD +#if FLEXT_SYS == FLEXT_SYS_PD // uarghh... pd doesn't show it's path for extra modules C *name; @@ -191,7 +191,9 @@ V py::GetModulePath(const C *mod,C *dir,I len) // if dir is current working directory... name points to dir if(dir == name) strcpy(dir,"."); -#elif defined(MAXMSP) +#elif FLEXT_SYS == FLEXT_SYS_MAX + // how do i get the path in Max/MSP? +#else *dir = 0; #endif } |