summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PC/config.c2
-rw-r--r--PCbuild/pythoncore.vcproj3
2 files changed, 5 insertions, 0 deletions
diff --git a/PC/config.c b/PC/config.c
index 68fa84f..38d91de 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -60,6 +60,7 @@ extern void init_lsprof(void);
extern void init_ast(void);
extern void init_types(void);
extern void init_fileio(void);
+extern void initatexit(void);
/* tools/freeze/makeconfig.py marker for additional "extern" */
/* -- ADDMODULE MARKER 1 -- */
@@ -147,6 +148,7 @@ struct _inittab _PyImport_Inittab[] = {
{"_types", init_types},
{"_fileio", init_fileio},
+ {"atexit", initatexit},
/* Sentinel */
{0, 0}
diff --git a/PCbuild/pythoncore.vcproj b/PCbuild/pythoncore.vcproj
index 1da5593..4519e9f 100644
--- a/PCbuild/pythoncore.vcproj
+++ b/PCbuild/pythoncore.vcproj
@@ -425,6 +425,9 @@
RelativePath="..\Python\ast.c">
</File>
<File
+ RelativePath="..\Modules\atexitmodule.c">
+ </File>
+ <File
RelativePath="..\Modules\audioop.c">
</File>
<File