mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Windows: 2.1a1 changes so Python runs again. Note that the python20
subproject is gone, replaced by the new pythoncore subproject.
This commit is contained in:
parent
6425efe9ae
commit
97c9640cc9
9 changed files with 1757 additions and 1757 deletions
|
@ -327,9 +327,9 @@ typedef unsigned long uintptr_t;
|
|||
more (other compilers will still need to do so, but that's taken care
|
||||
of by the Distutils, so it's not a problem). */
|
||||
#ifdef _DEBUG
|
||||
#pragma comment(lib,"python20_d.lib")
|
||||
#pragma comment(lib,"python21_d.lib")
|
||||
#else
|
||||
#pragma comment(lib,"python20.lib")
|
||||
#pragma comment(lib,"python21.lib")
|
||||
#endif
|
||||
#endif /* USE_DL_EXPORT */
|
||||
|
||||
|
|
|
@ -144,11 +144,11 @@ in the "Additional library path:" box.
|
|||
Now you need to add some mode-specific settings:
|
||||
|
||||
Select "Win32 Release" in the "Settings for:" dropdown list. Click the
|
||||
"Link" tab, choose the "Input" Category, and append "python20.lib" to the
|
||||
"Link" tab, choose the "Input" Category, and append "python21.lib" to the
|
||||
list in the "Object/library modules:" box.
|
||||
|
||||
Select "Win32 Debug" in the "Settings for:" dropdown list, and append
|
||||
"python20_d.lib" to the list in the "Object/library modules:" box. Then
|
||||
"python21_d.lib" to the list in the "Object/library modules:" box. Then
|
||||
click on the C/C++ tab, select "Code Generation" from the "Category:"
|
||||
dropdown list, and select "Debug Multithreaded DLL" from the "Use run-time
|
||||
library:" dropdown list.
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#define PYTHON_VERSION MS_DLL_ID "." PYTHON_API_STRING "\0"
|
||||
|
||||
#ifndef PYTHON_DLL_NAME
|
||||
#define PYTHON_DLL_NAME "Python20.dll"
|
||||
#define PYTHON_DLL_NAME "Python21.dll"
|
||||
#endif
|
||||
|
||||
// String Tables
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue