diff options
Diffstat (limited to 'RISCOS')
-rw-r--r-- | RISCOS/Modules/getpath_riscos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RISCOS/Modules/getpath_riscos.c b/RISCOS/Modules/getpath_riscos.c index 7582b17..8b36952 100644 --- a/RISCOS/Modules/getpath_riscos.c +++ b/RISCOS/Modules/getpath_riscos.c @@ -5,7 +5,7 @@ static char *prefix,*exec_prefix,*progpath,*module_search_path=0; static void calculate_path() -{ char *pypath=getenv("Python$Path"); +{ char *pypath=Py_GETENV("Python$Path"); if(pypath) { module_search_path=malloc(strlen(pypath)+1); if (module_search_path) sprintf(module_search_path,"%s",pypath); |