summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-11-30 19:18:08 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-11-30 19:18:08 (GMT)
commit3971f6b8fb22e67d7f4bec2df25aae285919ceba (patch)
tree1bcbe78bf6339c332151db5bc73388b5f569c5a3 /PC
parent0d157a0154140dc6dcd491d62df3a2b66367be15 (diff)
downloadcpython-3971f6b8fb22e67d7f4bec2df25aae285919ceba.zip
cpython-3971f6b8fb22e67d7f4bec2df25aae285919ceba.tar.gz
cpython-3971f6b8fb22e67d7f4bec2df25aae285919ceba.tar.bz2
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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/PC/dl_nt.c b/PC/dl_nt.c
index a87b523..e143c78 100644
--- a/PC/dl_nt.c
+++ b/PC/dl_nt.c
@@ -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 */