Taught the Windows build about _randommodule.c. This is compiled
into the core DLL, since it's not much code and lots of stuff uses
it (e.g., try getting a tempfile name without it).
diff --git a/PC/config.c b/PC/config.c
index 64eb962..af023bf 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -43,6 +43,7 @@
extern void init_weakref(void);
extern void init_hotshot(void);
extern void initxxsubtype(void);
+extern void init_random(void);
/* XXX tim: what's the purpose of ADDMODULE MARKER? */
/* -- ADDMODULE MARKER 1 -- */
@@ -94,6 +95,7 @@
{"xreadlines", initxreadlines},
{"_weakref", init_weakref},
{"_hotshot", init_hotshot},
+ {"_random", init_random},
{"xxsubtype", initxxsubtype},
diff --git a/PCbuild/pythoncore.dsp b/PCbuild/pythoncore.dsp
index c6a13b2..5e98a7c 100644
--- a/PCbuild/pythoncore.dsp
+++ b/PCbuild/pythoncore.dsp
@@ -105,6 +105,10 @@
# End Source File
# Begin Source File
+SOURCE=..\Modules\_randommodule.c
+# End Source File
+# Begin Source File
+
SOURCE=..\Modules\_weakref.c
# End Source File
# Begin Source File