From: Jack Jansen Date: Thu, 30 Sep 1999 11:14:49 +0000 (+0000) Subject: Make macglue.h C++ compatible. X-Git-Tag: v1.6a1~859 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c7fda7e195da7a21f2c97687c8fd8bcc25ef73b5;p=thirdparty%2FPython%2Fcpython.git Make macglue.h C++ compatible. --- diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h index ffd11e144efe..b40d18aeb391 100644 --- a/Mac/Include/macglue.h +++ b/Mac/Include/macglue.h @@ -31,6 +31,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include #include +#ifdef __cplusplus + extern "C" { +#endif + /* Scheduler parameters */ typedef struct { int check_interrupt; /* if true check for command-dot */ @@ -124,3 +128,6 @@ void PyMac_Initialize(void); /* Initialize function for embedding Python */ long getfiletype(char *); /* Get file type */ int setfiletype(char *, long, long); /* Set file creator and type */ +#ifdef __cplusplus + } +#endif