summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/config.c.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/Modules/config.c.in b/Modules/config.c.in
index 9ec281c..f811991 100644
--- a/Modules/config.c.in
+++ b/Modules/config.c.in
@@ -17,6 +17,10 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#include "Python.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* -- ADDMODULE MARKER 1 -- */
@@ -50,3 +54,9 @@ struct _inittab _PyImport_Inittab[] = {
/* Sentinel */
{0, 0}
};
+
+
+#ifdef __cplusplus
+}
+#endif
+