Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b4cfdfa

Browse files
committed
Removed special Windows defines, at Mark Hammond's request.
1 parent 83bd9a9 commit b4cfdfa

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

Include/modsupport.h

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,10 @@ extern PyObject *Py_VaBuildValue Py_PROTO((char *, va_list));
9292
*/
9393

9494
#ifdef MS_WINDOWS
95-
/* Special defines for Windows versions. MS_DLL_ID is the key
96-
used in the registry.
97-
The full MS_DLL_VERSION_ID is imbedded in the core DLL, and
98-
is so installers can determine incremental changes.
99-
*/
100-
#define MS_DLL_ID "1.5.0"
101-
#define MS_DLL_VERSION_ID MS_DLL_ID "." PYTHON_API_STRING
102-
95+
/* Special defines for Windows versions used to live here. Things
96+
have changed, and the "Version" is now in a global string variable.
97+
Reason for this is that this for easier branding of a "custom DLL"
98+
without actually needing a recompile. */
10399
#endif /* MS_WINDOWS */
104100

105101
#ifdef Py_TRACE_REFS

0 commit comments

Comments
 (0)