From 28700c464a5940f675e092add0683d5afe0fffa0 Mon Sep 17 00:00:00 2001
From: Guido van Rossum <guido@python.org>
Date: Mon, 27 Jul 1998 13:49:04 +0000
Subject: Use Py_GetPythonHome() instead of getenv("PYTHONHOME").

---
 PC/os2vacpp/getpathp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PC/os2vacpp/getpathp.c b/PC/os2vacpp/getpathp.c
index d45c2f7..b7056ab 100644
--- a/PC/os2vacpp/getpathp.c
+++ b/PC/os2vacpp/getpathp.c
@@ -325,7 +325,7 @@ calculate_path()
 	char argv0_path[MAXPATHLEN+1];
 	char *buf;
 	int bufsz;
-	char *pythonhome = getenv("PYTHONHOME");
+	char *pythonhome = Py_GetPythonHome();
 	char *envpath = getenv("PYTHONPATH");
 #ifdef MS_WIN32
 	char *machinepath, *userpath;
-- 
cgit v0.12

