From: Anthony Baxter Date: Thu, 13 Apr 2006 04:49:25 +0000 (+0000) Subject: whoops. missed one in an auto-generated file. another extern "C" {} for C++ compiler... X-Git-Tag: v2.5a2~283 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ad9ec276e903914b0a7f3fea2a84f77598202a1;p=thirdparty%2FPython%2Fcpython.git whoops. missed one in an auto-generated file. another extern "C" {} for C++ compiler compatibility --- diff --git a/Modules/config.c.in b/Modules/config.c.in index 9ec281cf3f99..f8119914af6b 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 +