summaryrefslogtreecommitdiffstats
path: root/PC
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 /PC
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).
Diffstat (limited to 'PC')
-rw-r--r--PC/config.c2
1 files changed, 2 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},