summaryrefslogtreecommitdiffstats
path: root/PC/getpath_nt.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-08-23 18:42:39 (GMT)
committerGuido van Rossum <guido@python.org>1996-08-23 18:42:39 (GMT)
commit3db4103ecfb565140fa6d597ff3ab6ff4b11dd53 (patch)
tree46c8ad16b3816b3dd1ae882096cb57469286dea3 /PC/getpath_nt.c
parent8b9ea873ad4bbb6a5d31cff43fc589f6004a4e2e (diff)
downloadcpython-3db4103ecfb565140fa6d597ff3ab6ff4b11dd53.zip
cpython-3db4103ecfb565140fa6d597ff3ab6ff4b11dd53.tar.gz
cpython-3db4103ecfb565140fa6d597ff3ab6ff4b11dd53.tar.bz2
Use MS_DLL_ID and similar changes
Diffstat (limited to 'PC/getpath_nt.c')
-rw-r--r--PC/getpath_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/getpath_nt.c b/PC/getpath_nt.c
index 039a39e..99e8b06 100644
--- a/PC/getpath_nt.c
+++ b/PC/getpath_nt.c
@@ -54,7 +54,7 @@ getpythonregpath(HKEY keyBase, BOOL bWin32s)
LONG rc;
char *retval = NULL;
char *dataBuf;
- if ((rc=RegOpenKey(keyBase, "Software\\Python\\PythonCore\\" WIN32_PATCH_LEVEL "\\PythonPath",
+ if ((rc=RegOpenKey(keyBase, "Software\\Python\\PythonCore\\" MS_DLL_ID "\\PythonPath",
&newKey))==ERROR_SUCCESS) {
RegQueryInfoKey(newKey, NULL, NULL, NULL, NULL, NULL, NULL,
&numEntries, &nameSize, &dataSize, NULL, NULL );