diff options
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 } |