diff options
Diffstat (limited to 'Python/frozenmain.c')
-rw-r--r-- | Python/frozenmain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/frozenmain.c b/Python/frozenmain.c index a03a2f8..efc87d7 100644 --- a/Python/frozenmain.c +++ b/Python/frozenmain.c @@ -30,9 +30,9 @@ Py_FrozenMain(int argc, char **argv) Py_FrozenFlag = 1; /* Suppress errors from getpath.c */ - if ((p = getenv("PYTHONINSPECT")) && *p != '\0') + if ((p = Py_GETENV("PYTHONINSPECT")) && *p != '\0') inspect = 1; - if ((p = getenv("PYTHONUNBUFFERED")) && *p != '\0') + if ((p = Py_GETENV("PYTHONUNBUFFERED")) && *p != '\0') unbuffered = 1; if (unbuffered) { |