From 60ee6bb60b11bbfbccf56f335c9c6213e6daa79d Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Thu, 5 Dec 2002 05:36:32 +0000 Subject: "" svn path=/trunk/; revision=278 --- externals/grill/py/source/main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'externals/grill/py/source/main.cpp') 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 } -- cgit v1.2.1