summaryrefslogtreecommitdiffstats
path: root/PC/dl_nt.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-05 22:18:50 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-05 22:18:50 (GMT)
commita1ebdbddb3e079bf9d3b00d2f25483b6b2cf3b9c (patch)
treeb02b4ff637ceb247fe52515c031c04d20a2c5a60 /PC/dl_nt.c
parentdb9353e17dc375dda1a4910c70461dc745894834 (diff)
downloadcpython-a1ebdbddb3e079bf9d3b00d2f25483b6b2cf3b9c.zip
cpython-a1ebdbddb3e079bf9d3b00d2f25483b6b2cf3b9c.tar.gz
cpython-a1ebdbddb3e079bf9d3b00d2f25483b6b2cf3b9c.tar.bz2
Use Python.h, not allobjects.h.
Don't call initall() (Experimental incompatible change!!!!!!)
Diffstat (limited to 'PC/dl_nt.c')
-rw-r--r--PC/dl_nt.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/PC/dl_nt.c b/PC/dl_nt.c
index 16b9319..e80c3cf 100644
--- a/PC/dl_nt.c
+++ b/PC/dl_nt.c
@@ -10,10 +10,8 @@ forgotten) from the programmer.
#include "windows.h"
/* NT and Python share these */
-#undef INCREF
-#undef DECREF
#include "config.h"
-#include "allobjects.h"
+#include "Python.h"
HMODULE PyWin_DLLhModule = NULL;
@@ -25,7 +23,7 @@ BOOL WINAPI DllMain (HANDLE hInst,
{
case DLL_PROCESS_ATTACH:
PyWin_DLLhModule = hInst;
- initall();
+ //initall();
break;
case DLL_PROCESS_DETACH:
break;