Commit d1f5ccc7 authored by Tim Peters's avatar Tim Peters

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).
parent 621818b3
...@@ -43,6 +43,7 @@ extern void initxreadlines(void); ...@@ -43,6 +43,7 @@ extern void initxreadlines(void);
extern void init_weakref(void); extern void init_weakref(void);
extern void init_hotshot(void); extern void init_hotshot(void);
extern void initxxsubtype(void); extern void initxxsubtype(void);
extern void init_random(void);
/* XXX tim: what's the purpose of ADDMODULE MARKER? */ /* XXX tim: what's the purpose of ADDMODULE MARKER? */
/* -- ADDMODULE MARKER 1 -- */ /* -- ADDMODULE MARKER 1 -- */
...@@ -94,6 +95,7 @@ struct _inittab _PyImport_Inittab[] = { ...@@ -94,6 +95,7 @@ struct _inittab _PyImport_Inittab[] = {
{"xreadlines", initxreadlines}, {"xreadlines", initxreadlines},
{"_weakref", init_weakref}, {"_weakref", init_weakref},
{"_hotshot", init_hotshot}, {"_hotshot", init_hotshot},
{"_random", init_random},
{"xxsubtype", initxxsubtype}, {"xxsubtype", initxxsubtype},
......
...@@ -105,6 +105,10 @@ SOURCE=..\Modules\_localemodule.c ...@@ -105,6 +105,10 @@ SOURCE=..\Modules\_localemodule.c
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\Modules\_randommodule.c
# End Source File
# Begin Source File
SOURCE=..\Modules\_weakref.c SOURCE=..\Modules\_weakref.c
# End Source File # End Source File
# Begin Source File # Begin Source File
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment