diff Modules/getpath.c @ 37655:2f3f2e32dfd9 legacy-trunk

spread the extern "C" { } magic pixie dust around. Python itself builds now using a C++ compiler. Still lots and lots of errors in the modules built by setup.py, and a bunch of warnings from g++ in the core.
author Anthony Baxter <anthonybaxter@gmail.com>
date Thu, 13 Apr 2006 02:06:09 +0000
parents 480a5625e286
children c67b23397f30
line wrap: on
line diff
--- a/Modules/getpath.c	Thu Apr 13 02:04:42 2006 +0000
+++ b/Modules/getpath.c	Thu Apr 13 02:06:09 2006 +0000
@@ -91,6 +91,11 @@
  * process to find the installed Python tree.
  */
 
+#ifdef __cplusplus
+ extern "C" {
+#endif
+
+
 #ifndef VERSION
 #if defined(__VMS)
 #define VERSION "2_1"
@@ -681,3 +686,9 @@
         calculate_path();
     return progpath;
 }
+
+
+#ifdef __cplusplus
+}
+#endif
+