diff options
author | Guido van Rossum <guido@python.org> | 1996-08-23 18:42:39 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-08-23 18:42:39 (GMT) |
commit | 3db4103ecfb565140fa6d597ff3ab6ff4b11dd53 (patch) | |
tree | 46c8ad16b3816b3dd1ae882096cb57469286dea3 /PC/import_nt.c | |
parent | 8b9ea873ad4bbb6a5d31cff43fc589f6004a4e2e (diff) | |
download | cpython-3db4103ecfb565140fa6d597ff3ab6ff4b11dd53.zip cpython-3db4103ecfb565140fa6d597ff3ab6ff4b11dd53.tar.gz cpython-3db4103ecfb565140fa6d597ff3ab6ff4b11dd53.tar.bz2 |
Use MS_DLL_ID and similar changes
Diffstat (limited to 'PC/import_nt.c')
-rw-r--r-- | PC/import_nt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/PC/import_nt.c b/PC/import_nt.c index b6609a9..d34033c 100644 --- a/PC/import_nt.c +++ b/PC/import_nt.c @@ -9,7 +9,6 @@ #include "allobjects.h" #include "osdefs.h" #include <windows.h> -#include "import.h" #include "importdl.h" extern BOOL PyWin_IsWin32s(); @@ -21,7 +20,7 @@ FILE *PyWin_FindRegisteredModule( const char *moduleName, struct filedescr **ppF FILE *fp; int modNameSize = pathLen; HKEY keyBase = PyWin_IsWin32s() ? HKEY_CLASSES_ROOT : HKEY_LOCAL_MACHINE; - strcpy(moduleKey, "Software\\Python\\PythonCore\\" WIN32_PATCH_LEVEL "\\Modules\\"); + strcpy(moduleKey, "Software\\Python\\PythonCore\\" MS_DLL_ID "\\Modules\\"); strcat(moduleKey, moduleName); if (RegQueryValue(keyBase, moduleKey, pathBuf, &modNameSize)!=ERROR_SUCCESS) return NULL; |