]> granicus.if.org Git - python/commitdiff
whoops. missed one in an auto-generated file. another extern "C" {} for C++ compiler...
authorAnthony Baxter <anthonybaxter@gmail.com>
Thu, 13 Apr 2006 04:49:25 +0000 (04:49 +0000)
committerAnthony Baxter <anthonybaxter@gmail.com>
Thu, 13 Apr 2006 04:49:25 +0000 (04:49 +0000)
Modules/config.c.in

index 9ec281cf3f99e5ee2655aeff5cb53a9ac752a8bb..f8119914af6b4ed9e81995d1edf1b193cdd3bcaf 100644 (file)
@@ -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
+