1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-01-02 11:36:22 +01:00

Init the msvcrt extension

This commit is contained in:
OJ 2015-10-18 12:01:43 +10:00 committed by Brent Cook
parent 1c438bd13a
commit def28cf927

View File

@ -81,6 +81,7 @@ extern PyMODINIT_FUNC init_winreg(void);
extern PyMODINIT_FUNC initselect(void);
extern PyMODINIT_FUNC initunicodedata(void);
extern PyMODINIT_FUNC init_ctypes(void);
extern PyMODINIT_FUNC initmsvcrt(void);
/// order of these is actually important
static InitFunc init_funcs[] =
@ -91,7 +92,7 @@ static InitFunc init_funcs[] =
//DEC_INIT_FUNC(initnt),
//DEC_INIT_FUNC(init_socket),
//DEC_INIT_FUNC(init_functools),
DEC_INIT_FUNC(initselect),
DEC_INIT_FUNC(initmsvcrt),
DEC_INIT_FUNC(initselect),
DEC_INIT_FUNC(init_weakref),
DEC_INIT_FUNC(initarray),