]> granicus.if.org Git - python/commitdiff
Ported to CW8 (added PRE_CW8 ifdef for CW7, for the time being)
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 20 Feb 1996 16:25:31 +0000 (16:25 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 20 Feb 1996 16:25:31 +0000 (16:25 +0000)
Mac/Python/macshlglue.c

index aa4cfb78a6a00eadb4496388bf90b693dbcddda0..fc2adaf2565ecb3309dbdfa53f0fb786cfc25dd2 100644 (file)
@@ -9,6 +9,7 @@
 #include <Resources.h>
 
 #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.