From: Jack Jansen Date: Tue, 20 Feb 1996 16:25:31 +0000 (+0000) Subject: Ported to CW8 (added PRE_CW8 ifdef for CW7, for the time being) X-Git-Tag: v1.4b1~341 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=56ed26ed118fffb85d6ed0bc350165da40e5051f;p=thirdparty%2FPython%2Fcpython.git Ported to CW8 (added PRE_CW8 ifdef for CW7, for the time being) --- diff --git a/Mac/Python/macshlglue.c b/Mac/Python/macshlglue.c index aa4cfb78a6a0..fc2adaf2565e 100644 --- a/Mac/Python/macshlglue.c +++ b/Mac/Python/macshlglue.c @@ -9,6 +9,7 @@ #include #ifdef __MWERKS__ +#ifdef PRE_CW8 /* ** This part is copied from MW Startup.c, which is ** Copyright © 1993 metrowerks inc. All Rights Reserved. @@ -26,6 +27,7 @@ void (*__atexit_hook)(void); /* atexit() sets this up if it is ever called */ void (*___atexit_hook)(void); /* _atexit() sets this up if it is ever called */ int __aborting; /* abort() sets this and longjmps to __program_exit */ #endif +#endif /* ** Variables passed from shared lib initialization to PyMac_AddLibResources.