summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-12-29 23:46:40 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-12-29 23:46:40 (GMT)
commitd1f5ccc75d8f01c421556fad7bdffc35ad691fe5 (patch)
tree379ab160aa3e26f24d84f6215eb962b45012adf8
parent621818b31803324101b4ce5dde60ed425bf5a443 (diff)
downloadcpython-d1f5ccc75d8f01c421556fad7bdffc35ad691fe5.zip
cpython-d1f5ccc75d8f01c421556fad7bdffc35ad691fe5.tar.gz
cpython-d1f5ccc75d8f01c421556fad7bdffc35ad691fe5.tar.bz2
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).
-rw-r--r--PC/config.c2
-rw-r--r--PCbuild/pythoncore.dsp4
2 files changed, 6 insertions, 0 deletions
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 initxreadlines(void);
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 @@ struct _inittab _PyImport_Inittab[] = {
{"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 @@ SOURCE=..\Modules\_localemodule.c
# 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