diff options
author | Christian Heimes <christian@cheimes.de> | 2007-11-30 19:27:20 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-11-30 19:27:20 (GMT) |
commit | d59c64c49fe66c8cccd22e9bda570f71f70e6014 (patch) | |
tree | b3749e1c47338d9c3dc4424933e0d9f438e58d4b /PC | |
parent | 45031dfd1c37fca6361e881d56f4e62f800af91a (diff) | |
download | cpython-d59c64c49fe66c8cccd22e9bda570f71f70e6014.zip cpython-d59c64c49fe66c8cccd22e9bda570f71f70e6014.tar.gz cpython-d59c64c49fe66c8cccd22e9bda570f71f70e6014.tar.bz2 |
Merged revisions 59234-59238 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r59237 | facundo.batista | 2007-11-30 18:15:25 +0100 (Fri, 30 Nov 2007) | 4 lines
Reordering of __new__ to minimize isinstance() calls to most
used types. Thanks Mark Dickinson.
........
r59238 | christian.heimes | 2007-11-30 20:18:08 +0100 (Fri, 30 Nov 2007) | 6 lines
Removed or replaced some more deprecated preprocessor macros.
Moved the _DEBUG and NDEBUG macros to two new property files.
Fixed #1527 Problem with static libs on Windows
Updated README.txt
........
Diffstat (limited to 'PC')
-rw-r--r-- | PC/dl_nt.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -11,6 +11,7 @@ forgotten) from the programmer. #include "Python.h" #include "windows.h" +#ifdef Py_ENABLE_SHARED char dllVersionBuffer[16] = ""; // a private buffer // Python Globals @@ -35,3 +36,5 @@ BOOL WINAPI DllMain (HANDLE hInst, } return TRUE; } + +#endif /* Py_ENABLE_SHARED */ |