diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/import.c | 2 | ||||
-rw-r--r-- | Python/thread.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Python/import.c b/Python/import.c index 8094f7d477..d9550f5c68 100644 --- a/Python/import.c +++ b/Python/import.c @@ -1630,7 +1630,7 @@ case_ok(char *buf, Py_ssize_t len, Py_ssize_t namelen, char *name) FILEFINDBUF3 ffbuf; APIRET rc; - if (getenv("PYTHONCASEOK") != NULL) + if (Py_GETENV("PYTHONCASEOK") != NULL) return 1; rc = DosFindFirst(buf, diff --git a/Python/thread.c b/Python/thread.c index 3a2c7af6ff..9a4dc251f9 100644 --- a/Python/thread.c +++ b/Python/thread.c @@ -79,7 +79,7 @@ void PyThread_init_thread(void) { #ifdef Py_DEBUG - char *p = getenv("THREADDEBUG"); + char *p = Py_GETENV("PYTHONTHREADDEBUG"); if (p) { if (*p) |