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
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 @@
#include "Python.h"
#include "windows.h"
+#ifdef Py_ENABLE_SHARED
char dllVersionBuffer[16] = ""; // a private buffer
// Python Globals
@@ -35,3 +36,5 @@
}
return TRUE;
}
+
+#endif /* Py_ENABLE_SHARED */