diff options
author | Anthony Baxter <anthonybaxter@gmail.com> | 2006-04-13 04:49:25 (GMT) |
---|---|---|
committer | Anthony Baxter <anthonybaxter@gmail.com> | 2006-04-13 04:49:25 (GMT) |
commit | 1ad9ec276e903914b0a7f3fea2a84f77598202a1 (patch) | |
tree | 428a571ef71342968f4b49c9f4313319bf71a9d2 | |
parent | 0cfa58c43a48de7a25c9a26c5aee30f739678bc0 (diff) | |
download | cpython-1ad9ec276e903914b0a7f3fea2a84f77598202a1.zip cpython-1ad9ec276e903914b0a7f3fea2a84f77598202a1.tar.gz cpython-1ad9ec276e903914b0a7f3fea2a84f77598202a1.tar.bz2 |
whoops. missed one in an auto-generated file. another extern "C" {} for C++ compiler compatibility
-rw-r--r-- | Modules/config.c.in | 10 |
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 + |